Computer Science Canada Changing letters help ASAP!!! |
Author: | chibitenshi_03 [ Sun Feb 01, 2004 9:04 pm ] |
Post subject: | Changing letters help ASAP!!! |
This is program that changes the letters from a to b and b to c and so on. How can i change the program to make the the outputted letters on one line istead of having it each letter on one line? Also how can i make it using the getch command? var word : string loop put "Enter the word:" .. get word for x : 1 .. length (word) if word (x) >= "a" and word (x) <= "z" then put chr (ord (word (x)) + 1) end if end for end loop |
Author: | Paul [ Sun Feb 01, 2004 9:13 pm ] | ||||
Post subject: | |||||
You missed some things, dunno if its only the post, and I got rid of the loop. To put stuff after another, just use".." Hey, i can acutually help! What do you mean by getch? you mean only change one letter? then
|
Author: | Cervantes [ Sun Feb 01, 2004 9:17 pm ] |
Post subject: | |
um, why would you want to use getch? you couldn't imput a word if you used getch. are you trying to error proof it? |
Author: | Paul [ Sun Feb 01, 2004 9:18 pm ] |
Post subject: | |
probably its an assignment that needs to use getch? |
Author: | chibitenshi_03 [ Sun Feb 01, 2004 9:21 pm ] |
Post subject: | |
how do i change it to use the getch command? |
Author: | Paul [ Sun Feb 01, 2004 9:25 pm ] |
Post subject: | |
You mean with a whole word using getch? Whats the point of that? |
Author: | chibitenshi_03 [ Sun Feb 01, 2004 9:28 pm ] |
Post subject: | |
umm nevermind with the getch command thing i figured it out thanks for the help anywayz! ^^ |