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

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
Hi, Can you do exercises: D2, D3, D4, and D5 on page 230 of the following book: http://www.daimi.au.dk/~bra8130/Wiley_book/wiley.html . The book can be downloaded for free from t

These are the specifications for your Perl program: 1. The file containing your program must be named cookiemgr.pl 2. It must be invoked as: cookiemgr.pl cookies_file [options]

Is there one can help me in the language Lisp and Prolog

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Windows Card Space Windows Card Space (codenamed Info Card), is Windows now-canceled customer application for the Identification Met system. Card Place is an instance of a class of

non restoring division

what is the code to copy code on 1 jsp page to others

Define the Control statements in Computer Programming? The statements are part of the program that performs some action. The compiler will check a program sequentially from the

Describe briefly how you might program a computer to exhibit fear or sorrow.

OOPS Concepts Object-oriented programming (OOP) is a computer science term used to characterize a programming language that began development in the 1960’s. The term ‘object-orient