I know this is simple, but I need a bit of help. I need to write a program that will prompt the user to enter three integers, and should then print the numbers in ascending order. The hint the teacher gave was to use scanf three times? I'm just confused...
Jump to Post
Perhaps you meant to post in the C forum? (This is C++.)
Think about what the program is supposed to do, and write down a sort of "how to" to get it done:
1. get an integer from the user
2. get another integer from the user
All 7 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.