subject

Q#1 Write a C++ program that reads n integer values and stores them in an array of maximum 20 integers. Read from the user a valid value of n (n should not exceed 20). After reading the n array elements find and display the average and how many elements are below the average.

Q#2
Write a C++ program to read and store the data of 6 students. The data of each student consists of student ID and the score in 3 quizzes (a valid quiz score is in the range 0 – 10, the program should read the score in a validation loop). The program should display in a table form the heading of the table and for each student it should display the ID, the score in each quiz and the average score rounded to 1 digit after the decimal. Declare 5 arrays each of size 6 representing the following: ID, quiz1, quiz2, quiz3 and average. (to display in a table, use setw, DO NOT use ‘\t’).

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:20
Octothorpe is another name for what common computer keyboard symbol?
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
How is the number 372 written when expanded out to place values in the base 8 (octal) number system? a. 2 x 4 + 3 x 2 + 4 x 1 b. 3 x 64 + 7 x 8 + 2 x 1 c. 3 x 8 + 7 x 7 + 2 x 6 d. 3 x 100 + 7 x 10 + 2 x 1
Answers: 1
question
Computers and Technology, 22.06.2019 22:20
Pp 4.1 design and implement a class called sphere that contains instance data that represents the sphere’s diameter. define the sphere constructor to accept and initialize the diameter and include getter and setter methods for the diameter. include methods that calculate and return the volume and surface area of the sphere (see pp 3.5 for the formulas). include a tostring method that returns a one-line description of the sphere. create a driver class called multisphere, whose main method instantiates and updates several sphere objects.
Answers: 1
question
Computers and Technology, 24.06.2019 16:00
To fill (copy) a cell across or down, point to the of the cell and drag. top left corner top right corner bottom left corner bottom right corner
Answers: 3
You know the right answer?
Q#1 Write a C++ program that reads n integer values and stores them in an array of maximum 20 integ...
Questions
Questions on the website: 13722367