Computer Science Canada Get first name of person- Weird error |
Author: | simon66 [ Fri Jan 09, 2009 2:39 pm ] | ||
Post subject: | Get first name of person- Weird error | ||
Hey im writing a program that a user inputs a list of first names and when they type stop, the names will output in alphabetical order. This is my code
What is wrong here? |
Author: | Insectoid [ Fri Jan 09, 2009 2:43 pm ] |
Post subject: | RE:Get first name of person- Weird error |
firstname has to be an array of string, and you need a sorting algorithm. Look up bubble sort on wiki. |