Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) temperature.cpp Write a program to read a series of int numbers from the keyboard. Use an end-of-input signal (sentinel) value of 99. Calculate and

1) temperature.cpp Write a program to read a series of int numbers from the keyboard. Use an end-of-input signal (sentinel) value of 99. Calculate and print the average of the numbers between 32 and 212. Any number below 32 or above 212 (extremes) should not be included in the average calculations, but you should keep a count of them and print that at the end of the program. A run of the program should resemble the following: Enter a number (-99 to quit): 22 Enter a number (-99 to quit): 0 Enter a number (-99 to quit): 44 Enter a number (-99 to quit): 33 Enter a number (-99 to quit): -99 Average is: 38.5 There were 2 extreme values

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

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

More Books

Students also viewed these Databases questions

Question

Differentiate the function. r(z) = 2-8 - 21/2 r'(z) =

Answered: 1 week ago