Question
replace the answer word with your answer Complete the following program with appropriate C++ statements. This program stores the information of 40 students using structures.
replace the answer word with your answer
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 f i n a l e x a m. 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 f i n a l e x a m is 50 or more). Note: Please write C ++ statements WITHOUT blank spaces unless it is absolutely needed. Example: int num,a,b;
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | #include |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started