I just now got thrown into visual studio and told to make a basic(simple) program even though I don't know anything about the language or syntax, no help was given relating to the assignment, and he answers my questions with riddles. The professor won't tell me if we're correct until after the assignment is turned in. So I'm asking for the mercy of someone that will give me a quick run-through of how to do this program.
This is the exact assignment from the professor:
Problem to be solved:
Input from the user five numbers. Determine, and print out, the smallest number entered and the second smallest number entered.
Do NOT use loops, which we have not yet discussed.
Example run (bold type is what is entered by the user):
Enter number 1: 15
Enter number 2: 27
Enter number 3: 36
Enter number 4: 12
Enter number 5: 9
The smallest number is: 9
The second smallest number is: 12
Do NOT use loops, which we have not yet discussed.
-----
If anyone could give me a quick run-down, I would be eternally greatful!
Thanks in advance!