Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(+20) Write a python program that asks the user for four integers and displays: The integers The maximum integer The minimum integer The even integers

(+20) 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

Please review the source code tab for a strategy to display the integers that are even/odd OR >10/<=10 required in lab 03

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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 10g Insider Solutions

Authors: Arun R. Kumar, John Kanagaraj, Richard Stroupe

1st Edition

0672327910, 978-0672327919

More Books

Students also viewed these Databases questions

Question

5. Develop a self-management module for a training program.

Answered: 1 week ago