shfrlc3257 shfrlc3257
  • 23-08-2017
  • Computers and Technology
contestada

Write a function called printbackwards() that will work with a c++ string

Respuesta :

tonb
tonb tonb
  • 23-08-2017
There is a standard reverser that will work for this:

void printbackwards(string s)
{
   reverse(s.begin(), s.end());
   cout << s;
}


Answer Link

Otras preguntas

A cookie recipe calls for 2 ¾ cups of flour. Jackson has already put in 1 ½ cups of flour. How much more does he need?
5x = -25 how would is answer or whats the answer
which of the choices is an alternative meaning for the main definition of mood: a feeling or state of mind a) the feeling or quality of a work of art b) a verb
1.7 assignment poetry
Why should you put away chilled and frozen food in your fridge or freazer as soon as you can
Find the mean of 12,8,7,10,8,8,10 A.63 B.12.6 C.9 D.7
Choose the correct symbol for interval notation when a value is to be included in the solution. A. Parenthesis B. A Question Mark C. Brackets D. The And Symbol
plz help with number 8!
PLEASE HELP ASAP!!! CORRECT ANSWER ONLY PLEASE!!! I CANNOT RETAKE THIS!!
rosa is saving money for a trip. she has already saved $250 and plans to save $40 per week. this situation can be represented by the function f(x)= 250+40x, whe