subject
Computers and Technology, 25.10.2020 04:00 jeanieb

Write a program to do the following. In main function, the program should define an integer array and a pointer that points to the array. it
will ask the user to input 25 students' scores (scores are between 0 and 100 inclusive, so need to do
input validation), then pass the pointer and its size to a function. The function should find the
corresponding letter grades and return the pointer that points to the array of letter grades.
Also pass the score pointer and its size to the other function, which will calculate the average of those
25 scores with the lowest and highest score dropped, and then return the average (double type).
The input of those scores and output of the letter scores and average must be in main function, and
there is no input and output in the functions besides main function.
No global variables are allowed.
90-100 (include 90 and 100) is A
80-90 (include 80 but not include 90) is B
70-80 (include 70 but not include 80) is C
60-70 (include 60 but not include 70) is D
below 60 is F

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 04:00, coolconnor1234p0sv4p
Another name for addicting games. com
Answers: 1
image
Computers and Technology, 23.06.2019 12:30, legend101xD
Animations and transitions are added from the
Answers: 1
image
Computers and Technology, 23.06.2019 16:30, jessisjawsome
If i wanted to include a built-in calendar in a document, what option could i select? draw table insert table insert chart quick tables
Answers: 1
image
Computers and Technology, 24.06.2019 00:40, sierravick123owr441
Use a software program or a graphing utility with matrix capabilities to solve the system of linear equations using an inverse matrix. x1 + 2x2 − x3 + 3x4 − x5 = 6 x1 − 3x2 + x3 + 2x4 − x5 = −6 2x1 + x2 + x3 − 3x4 + x5 = 3 x1 − x2 + 2x3 + x4 − x5 = −3 2x1 + x2 − x3 + 2x4 + x5 = 5
Answers: 3
You know the right answer?
Write a program to do the following. In main function, the program should define an integer array a...

Questions in other subjects:

Konu
Social Studies, 02.02.2020 23:00