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 was the name of king arthur’s mythical castle?.
Determine ????∘ , δ????∘ , and K for the overall reaction from the balanced half-reactions and their standard reduction potentials. 2co3++h3aso3+h2o co3++e− h3a
Can someone please help me? :(
Pls help rn i need help quickly
You receive the following order: Progesterone 5% cream Apply as directed 4 oz Your pharmacy stocks progesterone cream 10%. How much cream base is needed to fill
On a piece of paper, sketch or use a protractor to construct right triangle ABC with AB=3 in., m∠A=90°, and m∠B=45°. What statement is true about the triangle?
Using the following diagram below, please answer the following:
Minutes (m) Words (w) Use the relationship between quantities to calculate the missing values in the table. 1 250 A= B= 2 500 3 A 4 1,000 5 B NEED HELP
A goal of the feminist movement between the 1960s and the 1980s was to gain: A. economic equality between men and women. B. an economic advantage over men. C. e
Katie wants to include stickers in the gift bags for a party. Stickers come in packs of 25. She wants to give each of the 17 guests at least 10 stickers. How ma