Question: Complete the following program with appropriate C++ statements. This program stores the information of 40 students using structures. Declare a structure to represent mark with


Complete the following program with appropriate C++ statements. This program stores the information of 40 students using structures. Declare a structure to represent mark with two (2) members of type float; carry marks and final exam. Then, create a structure named Student with three (3) members. The members include ID of type char array with size 10, name of type char array with size 40, and subject of type Mark. Store 40 input data in an array named stdn of type Student Print out a list of students who pass the subject (carry marks plus final exam is 50 or more). Note: Please write C ++ statements WITHOUT blank spaces unless it is absolutely needed. Example: int num, a,b; #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
