Write a program that will use a two-dimensional arrays named : Record[50||4). Number, the grades Q1, Q2, PE and FE will be stored on the 2nd, 3rd , ath and 5th column of the Record array, and the last column will store the average grade of 50 students. The data for Student Number, Q1, Q2, PE, column of the Record Array will store the Student and FE are to be entered from the keyboard while the average grade is to be computed using the equation : AVE = (Q1 + Q2 + 2 *PE + 2* FE)/ 6 Print the content of Record Array in tabulated form with the header : STUDENT NO. Qi 02 PE FE AVE Make another print out of the Record Array, but this time the ave column of the Record array (that is, the las t column) must be sorted in descending order, with the same header as before. Create a function named PrintArray for printing its content both when the average grade is not yet sorted and when the average grade had been sorted.
Write a program that will use a two-dimensional arrays named : Record[50||4). Number, the grades Q1, Q2, PE and FE will be stored on the 2nd, 3rd , ath and 5th column of the Record array, and the last column will store the average grade of 50 students. The data for Student Number, Q1, Q2, PE, column of the Record Array will store the Student and FE are to be entered from the keyboard while the average grade is to be computed using the equation : AVE = (Q1 + Q2 + 2 *PE + 2* FE)/ 6 Print the content of Record Array in tabulated form with the header : STUDENT NO. Qi 02 PE FE AVE Make another print out of the Record Array, but this time the ave column of the Record array (that is, the las t column) must be sorted in descending order, with the same header as before. Create a function named PrintArray for printing its content both when the average grade is not yet sorted and when the average grade had been sorted.
C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter10: Pointers
Section10.3: Pointer Arithmetic
Problem 4E
Related questions
Topic Video
Question
Create a simple C++
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,