Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is python3. Can you help me to do this?? Use OOP(Object Oriented Programming) to operate on a list of temperatures input by the user.

This is python3. Can you help me to do this??

Use OOP(Object Oriented Programming) to operate on a list of temperatures input by the user.

list should be a member of the class Temperature.

Create a function that uses a while loop with an or statement to receive an indefinite number of temperature inputs. The user should be able to input y or Y as a command when prompted by the program for further input.

Inputs will be pushed into a list that is a member of the class Temperature

using a set method.

Use a get method to return singular values like Highest or Lowest Temp.

After user enters temperatures a Menu will appear that allows the user to select

image text in transcribed

Please Select a Currency to Convert 1. to output Mean Average of all Temps Entered 2. to output Temp value in the middle of the list 3. to output Highest Temp. entered 4. to output Lowest Temp. entered 5. to output all even Temps 6. to output all odd Temps 7. to output all temps entered 8. to Exit Program

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

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions