View Single Post
  #3 (permalink)  
Old 04-13-2007, 09:25 PM
siren siren is offline
Newbie
 
Join Date: Apr 2007
Posts: 10
Credits: 0
Rep Power: 0
siren is on a distinguished road
Default

thank you Jordan for the quick reply! I tried out your advice but I'm still having some difficulties...

I want it to work out like this..

ASCII character program
Input 1,2,3, or q
1: ASCII code -> CHAR
2: CHAR -> ASCII code
3: Display ASCII TABLE
q: End of this program
1
input ASCII code
123
Character for ASCII code 123 is -> '{'
Input 1,2,3, or q
1: ASCII code -> CHAR
2: CHAR -> ASCII code
3: Display ASCII TABLE
q: End of this program
2
input a character
r
ASCII code for character 'r' is -> 114
Input 1,2,3, or q
1: ASCII code -> CHAR
2: CHAR -> ASCII code
3: Display ASCII TABLE
q: End of this program
q

END

This is just an example of how I want the program to work, but I can't seem to get the looping part right...please HELP!!!!
Reply With Quote