Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

C programming language Programming 2 Spring 2018 2 Make a structure Student name

ID: 3743060 • Letter: C

Question

C programming language

Programming 2 Spring 2018 2 Make a structure Student name, last name,mdrm points, final points Write a code to create a student, enter and print data of a structure it s your choice d you are going to create functions or not, ft is obligatory to write main function and code in a) bi Write a function that receives an array of students and prints on the screen the number of itudents who have won over 55 points in midhem and tinal exam together Function doesn't return anything) NOTE Aso, write the main function together with the variables declar ations and the call upon created function

Explanation / Answer

a) #include #include using namespace std; struct Student { string firstName; string lastName; int midterm; int final; }; int main() { Student s; s.firstName = "Crisitiano"; s.lastName = "Ronaldo"; s.midterm = 87; s.final = 94; cout