Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lab projects in CSe 10200 are carried out in teams of 2 students. The maximum grade a student can have is 10. The overall grade

image text in transcribed

Lab projects in CSe 10200 are carried out in teams of 2 students. The maximum grade a student can have is 10. 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 projeet grade is 2 7.5 and the student's own grade is 2 8. A team has the following grades of the laboratory projects in the semester: Grades for first student: Gill-(a, a, a); Grades for second student: G2ll-b,, b, b.) 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 Gill (9, 6, 8) int G2l-17,10,7 Sample Output Number of A's for Student 1:2 Number of A's for Student 21 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 Gill (io, 10,9,9.5.7,8,6, 8,9.7,6,6,10):// Grades of Student 1 Int Gal- (1o,6,7,7, 10, 8, 6,9.10,9,8,8, 6,1o): // Grades of Student 2

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

How do leaders create self-leaders?

Answered: 1 week ago