Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Write a C++ program that creates random one month of the temperature and find Average temperature, lowest and hottest temperature with the days of

image text in transcribed
2. Write a C++ program that creates random one month of the temperature and find Average temperature, lowest and hottest temperature with the days of the month. Note: Create functions that takes the temperatures to find Average temperature, lowest and hottest temperature with the days of the month. Assume that month has 30 days or use keyboard to enter number of days. Temperature range 32-100 You can use static int in function to keep max and min and total Sample output Temperature of a month Days: 1 2 3 Temp: 21 65 51 Days: 16 17 18 Temp: 72 48 75

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 10g Database Administrator Implementation And Administration

Authors: Gavin Powell, Carol McCullough Dieter

2nd Edition

1418836656, 9781418836658

More Books

Students also viewed these Databases questions

Question

How do you know some orders were created after shipment?

Answered: 1 week ago