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

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

Relax

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

Which of the following best describes deflation as it relates to Earth science? A. Beach erosion caused by high tidesB. An avalanche caused by skiersC. High ti
what is the shape of miranda's orbit path?
A coil is connected to a 100v d.c. supply and takes a current of 10A. Calculate the value of the resistance of the coil
Are there any poisonous animals in Washington State?
Which value of c makes y^2+8y+c a perfect square A. 4 B.16 C.64 D.8
Which state that borders Kansas has tall mountains?
What is the pitch of a sound wave?
estimate square root of 37 to the nearest hundredth
What led to Czar Nicholas II’s downfall?be specific please
What is another name for curl-ups? (8 letter word)