Question: PLease solve this problem in C++ 17 October 2018 Section:CC-3 Name: Lab projects in CSc 10200 are carried out in teams of 2 students. The
PLease solve this problem in C++
17 October 2018 Section:CC-3 Name: Lab projects in CSc 10200 are carried out in teams of 2 students. The maximum grade a student can have is 1o. The overall grade of a project is equal to the average of the students' grades. A student gets an 'A' for a project if the overall project grade is 2 8 and the student's own grade is A team has the following grades of the laboratory projects in the semester Grades for first student: G1[] (a, an a3, ); You are asked to write a C++ program to print the number of 'A' grades each student in the team received Input Format Two integer arrays containing the grades of each student in the team Test cases Sample Input int Gi0-19, 6, 8) int Gal f7, 10, 7 Sample Output Student 1 Number of A's: 1 Student 2 Number of A's: 2 Instructions Write and run a C++ program to solve the problem using the input data below. Provide on the back of this sheet: (1) the C++ program, and (2) the output. Show your complete code and output on the back page. Demonstration of the program developed to your instructor before leaving is required Input data int Gil- (1o, 10, 9, 9,5, 7, 8, 6, 8, 9,7,6, 6, 10);// Grades of student 1 int G2[(1o, 6, 7, 7, 8, 8, 6, 9, lo, 9, 8, 8, 6, lo); // Grades of student 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
