how to write psudocodefind the maximum,minimum,sum and average of 3 numbers

1. Start

2. Declare three variables (a,b,c) with integer data type
3. Input values of a, b and c from the user
4. Set max variable initial value to a
5. Set min variable initial value to a
6. Add all three values a, b and c and store the result in sum variable
7. Calculate average by dividing sum by 3 and store the result in average variable
8. Compare b with max and update max if b is greater than current value of max
9. Compare c with max and update max if c is greater than current value of max
10. Compare b with min and update min if b is smaller than current value of min
11. Compare c with min and update min if c is smaller than current value of min
12. Output max, min, sum and average values
13. Stop

Pseudo Code:

Start
Declare a,b,c as integer
Input a,b,c
max = a
min = a
sum = a+b+c
average = sum / 3
If b > max Then max = b
If c > max Then max = c
If b < min Then min = b
If c < min Then min = c
Output max, min, sum and average
Stop

To write pseudocode for finding the maximum, minimum, sum, and average of three numbers, you can follow these steps:

1. Start by declaring three variables named `num1`, `num2`, and `num3` to store the three numbers.
2. Prompt the user to input three numbers and store them in the respective variables.
3. Initialize four variables named `maximum`, `minimum`, `sum`, and `average` to hold the maximum value, minimum value, sum, and average of the three numbers, respectively.
4. Calculate the maximum value by comparing the three numbers.
5. Calculate the minimum value by comparing the three numbers.
6. Calculate the sum by adding the three numbers together.
7. Calculate the average by dividing the sum of the three numbers by 3.
8. Display the maximum, minimum, sum, and average.

Here's how the pseudocode may look like:

```
// Step 1
Declare num1, num2, num3 as integers

// Step 2
Input num1, num2, num3

// Step 3
Declare maximum, minimum, sum, average as integers

// Step 4
maximum = max(num1, num2, num3)

// Step 5
minimum = min(num1, num2, num3)

// Step 6
sum = num1 + num2 + num3

// Step 7
average = sum / 3

// Step 8
Display maximum, minimum, sum, average
```

Please note that `max()` and `min()` are built-in functions that return the maximum and minimum values, respectively, of the provided arguments.