how to write algorithm and pseudocode and how to draw flowchart to find the average,

max, min, and sum of three numbers given by the user

Algorithm:

1. Prompt the user to input the first number.
2. Store the first number in a variable.
3. Prompt the user to input the second number.
4. Store the second number in a variable.
5. Prompt the user to input the third number.
6. Store the third number in a variable.
7. Add the three numbers together and store the sum in a variable.
8. Calculate the average of the three numbers by dividing the sum by 3 and store the result in a variable.
9. Determine the highest number by comparing each number to the others, and storing the largest value in a variable.
10. Determine the smallest number by comparing each number to the others, and storing the smallest value in a variable.
11. Output the sum, average, highest number, and smallest number.

Pseudocode:

1. Prompt user to input first number.
2. Store first number as variable "num1".
3. Prompt user to input second number.
4. Store second number as variable "num2".
5. Prompt user to input third number.
6. Store third number as variable "num3".
7. Set variable "sum" to num1 + num2 + num3.
8. Set variable "avg" to sum / 3.
9. Set variable "max" to the maximum value of num1, num2 and num3.
10. Set variable "min" to the minimum value of num1, num2 and num3.
11. Output sum, avg, max and min.

Flowchart:

START
|
v
ENTER num1
|
v
ENTER num2
|
v
ENTER num3
|
v
sum = num1 + num2 + num3
|
v
avg = sum / 3
|
v
IF num1 > num2 AND num1 > num3 THEN
max = num1
ELSE IF num2 > num1 AND num2 > num3 THEN
max = num2
ELSE
max = num3
END IF
|
v
IF num1 < num2 AND num1 < num3 THEN
min = num1
ELSE IF num2 < num1 AND num2 < num3 THEN
min = num2
ELSE
min = num3
END IF
|
v
OUTPUT sum, avg, max, min
|
END

To write an algorithm and pseudocode and draw a flowchart to find the average, max, min, and sum of three numbers given by the user, you can follow these steps:

1. Algorithm:

Step 1: Start
Step 2: Input three numbers from the user (num1, num2, num3)
Step 3: Set sum = num1 + num2 + num3
Step 4: Set average = sum / 3
Step 5: Initialize max as num1
Step 6: If num2 > max, set max = num2
Step 7: If num3 > max, set max = num3
Step 8: Initialize min as num1
Step 9: If num2 < min, set min = num2
Step 10: If num3 < min, set min = num3
Step 11: Display sum, average, max, and min
Step 12: Stop

2. Pseudocode:

```
START
INPUT num1, num2, num3
sum = num1 + num2 + num3
average = sum / 3
max = num1
min = num1

IF num2 > max THEN
max = num2
END IF
IF num3 > max THEN
max = num3
END IF

IF num2 < min THEN
min = num2
END IF
IF num3 < min THEN
min = num3
END IF

DISPLAY sum, average, max, min
END
```

3. Flowchart:

```
+---------+
| START |
+----+----+
|
v
+----+----+
| INPUT |
+----+----+
|
v
+------------+---------+
| sum = num1 + num2 + num3 |
| average = sum / 3 |
| max = num1, min = num1 |
+-------+-----------------+
|
+---------+4. Display sum, average, max, min
|
v
+-----+-----+
| STOP |
+-----------+
```

Please note that the pseudocode given above is a general representation. The specific syntax may vary depending on the programming language you are using.