I have to make a program that tells a user to enter three positive integers and give them a least, middle and greatest value. How would I do that, since I tried a bunch of if and else if statements and it didn't work.
Printable View
I have to make a program that tells a user to enter three positive integers and give them a least, middle and greatest value. How would I do that, since I tried a bunch of if and else if statements and it didn't work.
Use a bunch of if and else if statements, it'll work :p
I tried but it didn't work, how would using a bunch of em work haha
What did you try and how do you know it didn't work?
It's important to show us what you've tried, otherwise we can't help fix your code