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

if one turn of a screw sinks the screw 1/8", how many turns are needed to sink the screw 3/4"
Q is the center of the circle. If the area of the minor sector (smaller sector) bounded by radii LQ and MQ, and minor arc LM, is 350m2. If the length of LQ is 1
Question 8 Consider a company with sales that are initially equal to 650 million, and grow at a rate of 8% per quarter. The company’s profit margin is 7%. Inven
Put the events in chronological order to show Pope’s involvement in helping launch the bicycle craze in the United States. In the beginning, Pope works to mak
How do you think what they wore influenced soldiers health?
ABCDEFGH is a cuboid. = AB 18 cm, BC = 7 cm and CG = 12 cm. Calculate the angle that the diagonal AG makes with the base ABCD.
discuss the possible consequences caster semenya had to face in her personal life due to the negative media coverage and provide a reason for your answer ​
In human resource planning, companies determine: Check all that apply.
arresting protestors for murder is like ignoring the first amendment which fallacy
distinguish between primary and secondary sources of historical information