Pascal

Moderators: None (Apply to moderate this forum)
Number of threads: 4095
Number of posts: 14004

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
If you can help me out I would greatly appreciate it Posted by mexas28 on 27 Feb 2006 at 4:52 PM
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
Report
Re: If you can help me out I would greatly appreciate it Posted by Phat Nat on 27 Feb 2006 at 6:52 PM
: 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
Report
Re: If you can help me out I would greatly appreciate it Posted by xauxi99 on 31 Aug 2009 at 5:25 PM
Marked! I will come back to check this soon!thanks a lot.
[url=http://simulationdecreditimmobilier.org]demande credit
immobilier simulation pret de france taux calcul
courtier
[/url]
Une simulation credit immobilier de France
a faire un
pret.
[url=http://simulationdecreditimmobilier.org]demande
credit immobilier simulation pret de france taux calcul
courtier
[/url]


Report
Re: If you can help me out I would greatly appreciate it Posted by bosebonas on 16 Mar 2006 at 5:17 AM
hi ,
i am about to finish with your program so write me to dzouato@yahoo.fr for us to discuss .



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.