Question: Write a python program that asks the user for four integers and displays: The integers The maximum integer The minimum integer The even integers (if
Write a python program that
asks the user for four integers and displays:
The integers
The maximum integer
The minimum integer
The even integers (if x %2 == 0 then x is even)
The odd integers
The number of integers greater than 10
The positive integers
The negative integers
The average of the smallest and largest integers
EXAMPLE OUTPUT
If the user entered 20 -8 17 -5 then display
The integers are 20 -8 17 -5
The maximum integer is 20
The minimum integer is -8
The even integers are 20 -8
The odd integers are 17 -5
The number of integers greater than 10 is 2
The positive integers 20 17
The negative integers -8 -5
The average of the smallest and largest integers 6.0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
