how to write algorithm and pseudocode how to draw flowchart to find the average max min and sum of three numbers given by the user

Algorithm:

1. Ask the user to enter three numbers.
2. Read the three numbers entered by the user.
3. Calculate the sum of the three numbers.
4. Calculate the average of the three numbers.
5. Determine the maximum number of the three.
6. Determine the minimum number of the three.
7. Display the sum, average, maximum, and minimum values.

Pseudocode:

1. Prompt the user to enter three numbers.
2. Read the three numbers.
3. Set sum = number1 + number2 + number3
4. Set average = sum / 3
5. Set maximum = max(number1, number2, number3)
6. Set minimum = min(number1, number2, number3)
7. Display sum, average, maximum, and minimum.

Flowchart:

[Start] -> [Prompt user to enter three numbers] -> [Read numbers] -> [Calculate sum] -> [Calculate average] -> [Determine maximum] -> [Determine minimum] -> [Display sum, average, maximum, and minimum] -> [End]

Step 1: Algorithm

1. Start
2. Read three numbers from the user (num1, num2, num3)
3. Calculate the sum of the three numbers (sum = num1 + num2 + num3)
4. Calculate the average of the three numbers (avg = sum / 3)
5. Find the maximum of the three numbers (max = max(num1, num2, num3))
6. Find the minimum of the three numbers (min = min(num1, num2, num3))
7. Display the sum, average, maximum, and minimum numbers
8. End

Step 2: Pseudocode

```
start
read num1
read num2
read num3

sum = num1 + num2 + num3
avg = sum / 3

max = maximum(num1, num2, num3)
min = minimum(num1, num2, num3)

display "Sum is", sum
display "Average is", avg
display "Maximum is", max
display "Minimum is", min

end
```

Step 3: Flowchart

```
___________
| |
| Start | // Start of the program
|___________|
|
|
V
_____________
| |
| Input | // Read num1, num2, num3 from the user
|_____________|
|
|
V
_________
| |
| sum | // Calculate the sum of num1, num2, num3
|_________|
|
|
V
_________
| |
| avg | // Calculate the average of num1, num2, num3
|_________|
|
|
V
______________
| |
| maximum | // Find the maximum of num1, num2, num3
|______________|
|
|
V
______________
| |
| minimum | // Find the minimum of num1, num2, num3
|______________|
|
|
V
_________________
| |
| Display sum | // Display the sum of num1, num2, num3
|_________________|
|
|
V
_________________
| |
| Display avg | // Display the average of num1, num2, num3
|_________________|
|
|
V
___________________
| |
| Display maximum | // Display the maximum of num1, num2, num3
|___________________|
|
|
V
___________________
| |
| Display minimum | // Display the minimum of num1, num2, num3
|___________________|
|
|
V
___________
| |
| End | // End of the program
|___________|
```