Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C language Question Completion Status: 9 11 12 Save AU 3 6 7 100 SCHICK SUDmit to complete this assessment 86 Question 12 of 12

C language image text in transcribed
Question Completion Status: 9 11 12 Save AU 3 6 7 100 SCHICK SUDmit to complete this assessment 86 Question 12 of 12 Question 12 8 points Write a program that computes the average temperature of jeddah over one week. The user must be prompted to enter the temperature of seven days, one at time If an entered temperature value is less than -10C or greater than 70C, the user must be shown the following message and prompted to enter that value again "Temperature of Jeddah cannot be less than -5c or greater than 70C. Please enter again Finally, print out the average temperature up to decimal places Note: The average value of n temperature readings can be computed by adding those y readings and then dividing the sum by M. Remember to use appropriate datatypes. TT T Arial 3 (12pt) T.EE ING 22 G > 11/ O C

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

The Accidental Data Scientist

Authors: Amy Affelt

1st Edition

1573877077, 9781573877077

More Books

Students also viewed these Databases questions

Question

Which of the following is NOT a relational operator? 1. =

Answered: 1 week ago