Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

reverse string.. help..

leiyahleiyah Member Posts: 9
Write a program that prompts the user to enter a line of text, On the next line, display the reverse letter entered. The Execution should look like this:

Type a line of Text: RAINBOW
Result: WOBNIAR
[esc key terminates the program]


would you please help me..

i dont know what to do..

Comments

  • cosmic_eggcosmic_egg Member Posts: 12
    : Write a program that prompts the user to enter a line of text, On
    : the next line, display the reverse letter entered. The Execution
    : should look like this:
    :
    : Type a line of Text: RAINBOW
    : Result: WOBNIAR
    : [esc key terminates the program]
    :
    :
    : would you please help me..
    :
    : i dont know what to do..
    :

    treat the string as array traverse in reverse direction. There are plenty of reference on net just google it
Sign In or Register to comment.