Hey i have a program that i need to write where a user has to enter 3 names and then my program has to spit them back in alphabetical order. i know how to display the answers i just dont know how to code it to get the answer :/ EX. if i entered Charlie, Leslie, and Andy, the program needs to display:
I dont know how to get the program to order them that way. I know that i have to use temps, but im not sure how to implement them correctly.
If anyone could give me a little insight, it would be greatly appreciated.