Computer Science Canada piglatian |
Author: | scorpion1087 [ Tue Nov 04, 2003 1:27 pm ] |
Post subject: | piglatian |
what is it? how do you change a word into piglatian? |
Author: | Dan [ Thu Nov 06, 2003 5:38 pm ] |
Post subject: | |
LOL, this has got to be one of the funest question we have got for turing. i think piglatian is some kind of mest up slang. you whould need to know alot more about it to make a progame to chage a worad to it. but if you figer out the rules or what ever for it you whould probley need to uses substrings to move the letters around in the string. dose any one know more about piglatian? b/c i shure dont... |
Author: | nis [ Thu Nov 06, 2003 6:43 pm ] | ||
Post subject: | |||
I dont really know much about pig latin but if you want to move letters around in a word do this:
What that does is brings the first letter of a word to the back of the word Hope that helps |
Author: | Chimaera [ Wed Nov 12, 2003 11:42 pm ] | ||
Post subject: | |||
I pretty much have the core code of it down and it even works up to the point until we have a vowel for the first letter and then it just gets for looped. For the first if condition, it exits properly when it's outputted but I don't understand why the second one doesn't do the same. And also, is there a faster way to get the consonants/vowels be sorted into individual arrays, or do I have to manually declare all of them?
|
Author: | hackman [ Thu Nov 13, 2003 11:02 am ] |
Post subject: | |
oolcay rogrampay anmay |
Author: | Chimaera [ Sat Nov 15, 2003 10:30 pm ] |
Post subject: | |
please help me out! I'm pretty confused as to what to do with the program to fix it! |
Author: | thoughtful [ Sat Nov 15, 2003 11:19 pm ] | ||
Post subject: | |||
well the problem was with ur elsif statement it outputted the word 20 times if the first word was a vowel, i fixed it for ya.
|
Author: | AsianSensation [ Sun Nov 16, 2003 2:00 pm ] | ||
Post subject: | |||
here is a suggestion for assigning values to your array variables, instead of manually typing all those stuff out, let the computer do it, just use sub-strings
|
Author: | Andy [ Mon Nov 17, 2003 6:37 pm ] |
Post subject: | |
lol or use ascii values? |
Author: | Tony [ Mon Nov 17, 2003 6:40 pm ] |
Post subject: | |
dodge_tomahawk wrote: lol or use ascii values?
ASCII value not gonna say if its a vovel or not ![]() |