subject

Create a program to determine the largest and smallest number out of 15 numbers entered (numbers entered one at a time). This should be done in a function using this prototype: double larger (double x, double y); Make sure you use a for loop expression inside your function. Enter 15 numbers 11 67 99 2 2 6 8 9 25 67 7 55 27 1 1 The largest number is 99 Hints: o Read the first number of the data set. Because this is the only number read to this point, you may assume that it is the largest number so far and call it max. o Read the second number and call it num. Now compare max and num, and store the larger number into max. Now max contains the larger of the first two numbers. o Read the third number. Compare it with max and store the larger number into max. o At this point, max contains the largest of the first three numbers. Read the next number, compare it with max, and store the larger into max. Repeat this process for each remaining number in the data set using a for expression.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:50
List a few alternative options and input and output over the standerd keyboard and monitor. explain their functioning in details.
Answers: 2
question
Computers and Technology, 24.06.2019 13:00
Ais a built in formula in spread spread a is any math process such as addition or subtraction. options are function and operation
Answers: 1
question
Computers and Technology, 24.06.2019 16:00
This isn't about school but every time it tells me to watch an ad to unlock the answer to a question it prompts a survey and it just keeps loading. so i haven't been able to get answers for my tests in like a week.
Answers: 2
question
Computers and Technology, 24.06.2019 21:50
The use of phrases, fragments, and punctuation can influence the mood of a passage; keeping this in mind, how would you describe the mood of the followingpassage? "fog on the essex marshes, fog on the kentish heights, fog creeping into the cabooses of collier-brigs; fog lying out on the yards, and hovering in the riggingof great ships; fog drooping on the gunwales of barges and small boats. fog in the eyes and throats of ancient greenwich pensioners, wheezing by thefiresides of their wards; fog in the stem and bowl of the afternoon pipe of the wrathful skipper; fog cruelly pinching the toes and fingers of his shivering little'prentice boy on deck." (5 points)
Answers: 2
You know the right answer?
Create a program to determine the largest and smallest number out of 15 numbers entered (numbers ent...
Questions
question
Mathematics, 18.08.2019 11:00
question
Social Studies, 18.08.2019 11:00
question
World Languages, 18.08.2019 11:00
question
Spanish, 18.08.2019 11:00
question
Health, 18.08.2019 11:00