Concept explainers
use c++
Write a program to calculate students' average test scores and their grades. You may assume the following input data:
Johnson 85 83 77 91 76
Aniston 80 90 95 93 48
Cooper 78 81 11 90 73
Gupta 92 83 96 38 59
Blair 23 45 96 38 59
Clark 60 85 45 39 67
Kennedy 77 31 52 74 83
Bronson 93 94 89 77 97
Sunny 79 85 28 93 82
Smith 85 72 49 75 63
Use four arrays: a one-dimensional array to store the students' names, a (parallel) two-dimensional array to store the test scores, and a parallel one-dimensional array to store average grades, and last one one dimensional character array to store letter grades. 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, and a function to output the results. Have your program also output the class average.
Trending nowThis is a popular solution!
Step by stepSolved in 2 steps with 1 images
- Less than one hour left. Please help me find the solution to this Problem. PleaseHelpASAPLanguage used "Program C" 1. Find Lowest Write a C# program that reads n integers and store it in an array. Display the lowest value in the array. Do not use the predefined method Min() in C#. Input 1. num Description number of elements in the array 2. n1 Description integer 3. n2 Description integer 4. n3 Description integer 5. n4 Description integer 6. n5 Description integer 7. min Description integer Output 1. Enter number of elements for the array. 2. Enter elements of the array. 3. Display the lowest value. Enter·number·of·integers:·5 Integer1:·4 Integer2:·2 Integer3:·6 Integer4:·22 Integer5:·4 Lowest·value·in·the·array:·2arrow_forwardPerform in C#arrow_forwardWrite a C program that read 10 highest mountain in Malaysia in meter entered by the user and store them in a one-dimensional array named mountain[].arrow_forward
- Enter values from the keyboard into a 3x5 array, find line totals, and print them on the screen. The output format should be as follows. CASE STUDY: 1 of Series a. Line: 2 1 0 3 1 2nd series a Line: 1 4 3 8 1 Series 3 Line: 5 3 0 8 1 ------------------------------- 2 1 0 3 1 = 7 1 4 3 8 1 = 17 5 3 0 8 1 = 17arrow_forwardIn C++ language.arrow_forwardC Program Please make sure that the input and output are the same as the needed. Use scanf for inputs.arrow_forward
- My question is for c programming. Write a program that asks the user to enter a float value for each of five elements of an array, called "techarray". Your program should work with different data sets.FOR TEST: If 10, 20, 30, 40, and 50 were entered then you would print the following:Element Value0 10.0 1 20.0 2 30.0 3 40.0 4 50.0arrow_forwardWrite a program that reads 10 grades from the input and store them in an array. Use the values in the array to calculate the average of 10 marks. The program should then print the difference between each grade and the average.IN C PROGRAMarrow_forwardWrite a program that inputs ten numbers from the user in an array and displays the minimum number.arrow_forward
- It is a C++ programming topic. Show the input and output screenshot of the program.arrow_forward3. Write a program that computes the sum of a specific column (provide by user as input) in a 2D array. Sample Output: Enter number of rows: 3 Enter number of columns: 4 Enter elements: 2 36 7 4815 9072 Enter which column to find sum of: 2 Sum of column 2: 11arrow_forwardRajesh is new in the program and just now he is familiar with the array in programming and he wants to play with the this. His manager assigns him a task in which in he is given a wide range of numbers n as input. Also, you are given two numbers, I and r, and you have to print subarray [I. r] using the C++ Programming language (sub-array A from position I to position r). Input 4 23-12 13 Output 23 -1arrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education