subject
Mathematics, 30.10.2019 05:31 bricksaspares

Average test scores while loop create a console app that uses a while loop to calculate the average of 3 test scores. input integers, but use the appropriate average data type. generally, you use a while to do something while a condition is true. you can use a while loop to execute a certain number of times. *while* this is not the best use of the while loop and another loop is generally more appropriate, it follows the pattern below set a counter to 0 or 1 set a sum variable to 0 set a total variable to 3 while the counter is less the total (or less than or equal to, depending on if you started at 0 or 1) { write message asking for input read input parse to a number increment counter } calculate average print average with 2 decimal points precision*

ansver
Answers: 3

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 16:20, emj617
Match each statement with its corresponding value for the system below: y = -2(3)x and y = 9x - 2 1. the number of points of intersection. -2 2. the x-coordinate of the solution. 1 3. the y-coordinate of the solution. 0
Answers: 3
image
Mathematics, 21.06.2019 17:40, shaviaa
Atriangle has an area of 72 square inches. if the base of the triangle has a length of 18 inches, what is the height of the triangle? use the formula for the area of a triangle: area = (base)(height) type a numerical answer in the space provided. do not include the units or spaces in your answer.
Answers: 1
image
Mathematics, 21.06.2019 19:10, KariSupreme
At a kentucky friend chicken, a survey showed 2/3 of all people preferred skinless chicken over the regular chicken. if 2,400 people responded to the survey, how many people preferred regular chicken?
Answers: 1
image
Mathematics, 21.06.2019 19:30, jrassicworld4ever
Need now max recorded the heights of 500 male humans. he found that the heights were normally distributed around a mean of 177 centimeters. which statements about max’s data must be true? a) the median of max’s data is 250 b) more than half of the data points max recorded were 177 centimeters. c) a data point chosen at random is as likely to be above the mean as it is to be below the mean. d) every height within three standard deviations of the mean is equally likely to be chosen if a data point is selected at random.
Answers: 1
You know the right answer?
Average test scores while loop create a console app that uses a while loop to calculate the average...

Questions in other subjects: