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

What groups of people did the Europeans force to work as slaves in the New World?
8T+5=6T+1 can someone take me through the steps?
If y=14 when x=8, find y when x=12   Directly proportional
For exercise, mr.harris walked 1 and 3 fourths miles 5 times last week.how many miles did he walk in all?
write the number that matches the clues my number has 2 hundreds the tens digit is 9 more than the ones digit what is the number
Einstein used the photoelectric effect to prove that light has what?
What does pululaba mean?
28-9X=-12-11X How would you answer that?
A ball is dropped from the top of a 84-m-high building. What speed does the ball have in falling 3.6s?
" when striking, the pike, a predatory fish, can accelerate from rest to a speed of 4.0 m/s in 0.11 s." The question is " how far does the pike move during hi