If you can help me out I would greatly appreciate it

I need help writing a program that asks the user to input a three digit number and then prints the number in reverse order. Thus, for an input of 592, the output would be 295. (the program should use a variable for the reverse number and print the value of this variable. It should not print each digit seperately

Comments

  • : I need help writing a program that asks the user to input a three digit number and then prints the number in reverse order. Thus, for an input of 592, the output would be 295. (the program should use a variable for the reverse number and print the value of this variable. It should not print each digit seperately
    :

    This would be easily done with a String variable. Just read the user input and then take the string and create a function that "steps" throught the string one letter at a time from end to start and saves that letter into another string from start to end. Then the second string will contain a reverse of the first.

    Phat Nat
  • hi ,
    i am about to finish with your program so write me to dzouato@yahoo.fr for us to discuss .
  • Marked! I will come back to check this soon!thanks a lot.:-)
    [url=http://simulationdecreditimmobilier.org][color=#F3F3F3][u]demande credit
    immobilier simulation pret de france taux calcul
    courtier[/u][/url][/color][color=#F3F3F3]Une simulation credit immobilier de France
    a faire un
    pret.[/color][url=http://simulationdecreditimmobilier.org][color=#F3F3F3][u]demande
    credit immobilier simulation pret de france taux calcul
    courtier[/u][/url][/color]

Sign In or Register to comment.

Howdy, Stranger!

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

Categories