(15-30 min)
Write a program that reads three integers and prints the following properties as shown in the example:
Enter three integers:
2
6
-2
Sum: 6
Average: 2.0
Product: -24
Minimum: -2
Maximum: 6
You may only use single-selection if, in other words, you are not allowed to use else or else if. You may use multiple if statements.
First write your idea in the code (there is a placeholder in the template). You can also draw a flowchart if you prefer.
There are multiple ways. One way to think about all the cases that can happen.
A more elegant solution requires only 4 if statements. Just imagine who you would compare yourself with in a class, if you want to prove that you are the smallest one in the class.