Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(repetition, selection and computations] Task9: Write the python code to fulfill following requirements: 1. Take floating point values as input from the user 2. User

image text in transcribed
(repetition, selection and computations] Task9: Write the python code to fulfill following requirements: 1. Take floating point values as input from the user 2. User can enter as many different values as he wishes to perform calculation on 3. Find minimum, maximum, and the average of all the values entered by the user 4. Use sentinel control (O) to terminate input from user 5. After loop finishes, display proper output to the user Task10: For the numbers from 1 to 100, write python code to find whether the number is: (1) Even or Odd (2) Divisible by 3 or not (3) Divisible by 5 or not and (4) Divisible by 10 or not. Show your results as given in table below: Beber Divisible-by-s divisible-by-s Divisible-by-20 Even/ 15 Odd is Even is od is Even is toe is Even Is Od Yes NO No Yes No NO Yes No NO No No Yes NO is oo is Even No Yes Ne Yes 10

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

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Shamkant B. Navathe

7th Edition Global Edition

1292097612, 978-1292097619

More Books

Students also viewed these Databases questions