find the average,maximum,minimum and sum of three numbers given by user.

get numbers

add to get sum
avg = sum/3
update max and min as the list is read in

34556

To find the average, maximum, minimum, and sum of three numbers given by the user, you can follow these steps:

1. Prompt the user to input the three numbers.
2. Store these numbers in separate variables.
3. Calculate the sum of the three numbers by adding them together.
4. Calculate the average by dividing the sum by 3.
5. Compare the three numbers to find the maximum and minimum using conditional statements.
6. Display the results of the average, maximum, minimum, and sum to the user.

Here is a Python code example that demonstrates these steps:

```python
# Prompt the user to input three numbers
num1 = float(input("Enter the first number: "))
num2 = float(input("Enter the second number: "))
num3 = float(input("Enter the third number: "))

# Calculate the sum
sum_nums = num1 + num2 + num3

# Calculate the average
average = sum_nums / 3

# Find the maximum number
maximum = max(num1, num2, num3)

# Find the minimum number
minimum = min(num1, num2, num3)

# Display the results
print("Sum:", sum_nums)
print("Average:", average)
print("Maximum:", maximum)
print("Minimum:", minimum)
```

By following these steps and executing the code, you will find the average, maximum, minimum, and sum of three numbers provided by the user.