So I need to write a program that can display three numbers from highest to lowest, and then from lowest to highest. My professor told us we could find out how to do it by reading our current lesson, but the method I found only works for two numbers. Anyways, here's what I ended up with after some experimenting.
It works for the first part, but it doesn't work for any of the others. I did some searching and found out about something called bubble sort, but I think that's a bit too ahead.