Temperature Calculation system, Programming Languages

Detailed Description:

• The program will take temperature readings as input from user for specified number of consecutive days.
• Program will store these temperature values into an array.
• Then it will pass this array to three different functions.
• One function will return highest temperature, one will return lowest temperature and third one will return average temperature.
• All these functions will be called inside main() function where these temperature results will be displayed to the user.

Sample Output:

Enter the number of consecutive days to read their temperature : 5

Enter temperature for day 1: 50

Enter temperature for day 2: 80

Enter temperature for day 3: 30

Enter temperature for day 4: 92

Enter temperature for day 5: 47

The average temperature is 59.80
The highest temperature is 92.00
The lowest temperature is 30.00



NOTE:
The array containing temperature values must be passed to three different functions to return average, highest and lowest temperatures. Marks will be deducted if assignment is solved with some other technique.
Posted Date: 4/26/2012 8:14:07 AM | Location : United States







Related Discussions:- Temperature Calculation system, Assignment Help, Ask Question on Temperature Calculation system, Get Answer, Expert's Help, Temperature Calculation system Discussions

Write discussion on Temperature Calculation system
Your posts are moderated
Related Questions
What are Relative URLS ? When a web browser reads an HTML document, it has a great deal of information about the document. This includes the protocol used to retrieve the docu

For the following Code answer the following questions-: .STACK 100H .DATA COUNT DB 10 TOTAL DW 4126H .CODE MAIN PROC MOV BX, 3F20H MOV AL, BL MOV BL, COUNT MOV

I WANT TO MAKE PROJECT IN ARM LANGUAGE CAN YOU HELP ME

2. Design an ER diagram for an IT training group database that will meet the information need’training programme. Clearly indicate the entities, relationships and the key constrain


A large logistics company requires a software system to support the business processes associated with managing shift patterns of employees and making the associated payments. The

In this exercise you will develop a small 'Pop Game' in which the user will "pop" shapes that are drawn on the screen. The game will be time based, showing a shot clock at the top

Question 1 Discuss on UNIX kernel components 2 Explain process creation and process termination 3 When do a Deadlock occur? What are the Necessary Conditions for Deadlock

code for using tree view control and fill it with database

We are need of a PrestaShop Expert We are getting a fresh design created for our Jewellery website. This job is in 2 parts 1. The website engine is PrestaShop as well as w