Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please use c++ and solve it ASAP CLO-02 (10) Question No. 2: Declare a structure student, containing the following information about a student: Variable name
please use c++ and solve it ASAP
CLO-02 (10) Question No. 2: Declare a structure student, containing the following information about a student: Variable name name[80] roll_no[20] marks_physics marks_chemistry marks_english marks_maths marks_urdu marks_percent type char char int int int int int float In the main function, Initialize a variable of type student and populate the data from YOUR FSC marks-sheet. [Evidence of your FSC marks-sheet be attached with your answer] Calculate the percentage of your entered marks and save it in the structure variable marks_percent. Decide and display the grade based on your calculated marks_percent, using switch-case, according to following table marks_percent 90 - 100 80 - 89 70 - 79 60 - 69 50 - 59 Below 50 grade E D B A UStep 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