Engineering
Engineering, 14.11.2019 06:31, asherkbohannan

Write a program to sort the student’s names (ascending order), calculate students’ average test scores and letter grades (use the 10 point grading scale). in addition, count the number of students receiving a particular letter grade. you may assume the following input file data :
johnson 85 83 77 91 76
aniston 80 90 95 93 48
cooper 78 81 11 90 48
gupta 92 83 30 69 87
muhammed 23 45 96 38 59
clark 60 85 45 39 67
patel 77 31 52 74 83
abara 93 94 89 77 97
abebe 79 85 28 93 82
abioye 85 72 49 75 63
(40%) use four arrays: a one-dimensional array to store the students’ names, a (parallel) two dimensional array to store the test scores, a one-dimensional array to store the student’s average test scores and a one-dimensional array to store the student’s letter grades.
(60%) your program must contain at least the following functions :
a function to read and store data into two arrays,
a function to calculate the average test score and letter grade,
a function to sort all the arrays by student name, and
a function to output all the results (i. e. sorted list of students and their corresponding grades)
have your program also output the count of the number of students receiving a particular letter grade.
note : no non-constant global variables are to be used. you can name the arrays and functions anything you like. you can use the operator > = to sort the strings.
in c++

answer
Answers: 2

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, mm016281
What difference(s) did you notice using a pneumatic circuit over hydraulic circuit. explain why the pneumatic piston stumbles when it hits an obstacle.
Answers: 2
image
Engineering, 04.07.2019 18:10, johnthienann58
Thermal stresses are developed in a metal when its a) initial temperature is changed b) final temperature is changed c) density is changed d) thermal deformation is prevented e) expansion is prevented f) contraction is prevented
Answers: 2
image
Engineering, 04.07.2019 18:10, leomessifanboy678
The filament of an incandescent lamp has a temperature of 2000k. calculate the fraction of radiation emitted in the visible light band if the filament is approximated as blackbody
Answers: 2
image
Engineering, 04.07.2019 18:10, kevin72836
Consider a large isothermal enclosure that is maintained at a uniform temperature of 2000 k. calculate the emissive power of the radiation that emerges from a small aperture on the enclosure surface. what is the wavelength ? , below which 10% of the emission is concentrated? what is the wavelength ? 2 above which 10% of the emission is concentrated? determine the wavelength at which maximum spectral emissive power occurs. what is the irradiation incident on a small object placed inside the enclosure?
Answers: 2
Do you know the correct answer?
Write a program to sort the student’s names (ascending order), calculate students’ average test scor...

Questions in other subjects: