Computer Science Canada upper/lowercase |
Author: | skatelhs [ Mon Jun 16, 2003 11:51 am ] |
Post subject: | upper/lowercase |
can someone write me a program hat promts the user to enter a number in order to store some names. enter the names in lower or uppercase letters (check both situations) puuut those names in 2 groups: in group one store the names starting with vowels and in group two store the names startting with consonants. display both groups at the end of the program. thanks y'all |
Author: | JayLo [ Mon Jun 16, 2003 12:15 pm ] |
Post subject: | |
no. do it yourself. |
Author: | skatelhs [ Mon Jun 16, 2003 12:22 pm ] |
Post subject: | |
lol whatever dude it just would be really helpful id even donate my 23 bits to you. not that i think youd care at all, but still. (and id do it myself, but then again i DONT KNOW HOW, hence the asking on the forums you friggin genius) |
Author: | JayLo [ Mon Jun 16, 2003 12:31 pm ] |
Post subject: | |
try using if index (allCapitalLetters, word(1)) not= 0 then upperCaseName (i) := word end if |
Author: | JayLo [ Mon Jun 16, 2003 12:33 pm ] |
Post subject: | |
skatelhs wrote: hey you weiner give me the answer
please, if you want to flame me... |
Author: | Andy [ Mon Jun 16, 2003 2:28 pm ] |
Post subject: | |
Asok, u know what to do... burn him |
Author: | krishon [ Mon Jun 16, 2003 3:55 pm ] |
Post subject: | |
u could try using ordinate values, but i'm not writing out the program |
Author: | Andy [ Mon Jun 16, 2003 4:27 pm ] |
Post subject: | |
and listen skatelhs, we're not gonna do ur freaking homework for u, so if u wanna have it done, do it urself, read up on what we tell u and chcek out the tips section. here's an hint, have a string filled with vowels and indes the first letter of the word in side vowels index(vowels,word(1)) if it equals 0 then that means it starts with a consonant, and if its not 0 is a vowel, now show some respect for the programmers here ![]() |
Author: | Asok [ Mon Jun 16, 2003 7:42 pm ] |
Post subject: | |
dodge_tomahawk wrote: Asok, u know what to do... burn him
Good idea. *Napalms him* Asking for people to do your assignments (completely or partially) for you is not tollerated. Locked. |
: |