Computing.Net > Forums > Programming > simple project , help!!!!!

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

simple project , help!!!!!

Reply to Message Icon

Name: colm
Date: February 13, 2002 at 06:56:43 Pacific
Comment:

hi, got a simple project i need done real quick.
By use of an input file with the numbers 12345, i need a program to give me 54321 in an outout file, also the program must check for pallindromes, help!! e-mail me



Sponsored Link
Ads by Google

Response Number 1
Name: Helper
Date: February 18, 2002 at 03:37:22 Pacific
Reply:

peace brother!
be quiet use any Basic personaly i like Turbo Basic so write the following program:
main:
varx = 12345
vary$= str$(varx)
for j= len(vary$) to 1 step -1
goal$ = goal$ + mid$(vary$,j,1)
next j
result= val(goal$)
print "heehaaa: ";result
end
sincerely yours


0
Reply to Message Icon

Related Posts

See More


how to change the start b... Fortran 77 Mac toolbox pr...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: simple project , help!!!!!

Simple C Help!!! www.computing.net/answers/programming/simple-c-help/9795.html

Simple loop help www.computing.net/answers/programming/simple-loop-help/3575.html

C Program Simple Question (HELP...) www.computing.net/answers/programming/c-program-simple-question-help/10559.html