Computer Science Canada string comparisons |
Author: | air_force91 [ Sun Nov 23, 2003 9:26 am ] |
Post subject: | string comparisons |
how do i compare strings alphabetically...like i ask a user their last name and if their last names begin with letter a to u they are placed in class 1 and if their last names begin with letter v to z, they are placed in class 2? need help ASAP...thanx.... ![]() |
Author: | Mazer [ Sun Nov 23, 2003 9:44 am ] |
Post subject: | |
if lastname (1) >= "A" and lastname (1) <= "U" or lastname (1) >= "a" and lastname (1) <= "u" then %class 1 end if |
Author: | air_force91 [ Sun Nov 23, 2003 9:59 am ] |
Post subject: | |
turing's really hard man...im tired of problem solving...ive gotta finish 3 pages of questions...it's really hard............................ ![]() and my teacher doesn't even explain stuff... |
Author: | Andy [ Sun Nov 23, 2003 3:33 pm ] | ||
Post subject: | |||
turing is a joke lil boy... and nick, you can compare whole strings at a time for example
|
Author: | poly [ Sun Nov 23, 2003 4:36 pm ] |
Post subject: | |
air_force91 wrote: turing's really hard man...im tired of problem solving...
lol haha oh god I was having a bad day until I read this one. Dude leave the class as of Monday... if you are tired of problem solving well there's no point in staying as compsci is all about problem solving... hell life is about problem solving! |
Author: | Andy [ Sun Nov 23, 2003 6:54 pm ] |
Post subject: | |
dan, you should create a new rank called the censored and give them to ppl like air_force [mod:113a7605a9] :censored: grow up! [/mod:113a7605a9] |
Author: | air_force91 [ Sun Nov 23, 2003 8:49 pm ] |
Post subject: | |
errrr...u ppl are making me angry...im a "SHE"....ughhhh!!! im now in comsci...im taking computer engineering...well...ive changed my mind...i think it's a good opportunity for me to learn to face these challenges ...ughhhh... |