Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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 U

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

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Shamkant B. Navathe

7th Edition Global Edition

1292097612, 978-1292097619

More Books

Students also viewed these Databases questions

Question

Name the key aspects of supply chain management. LO.1

Answered: 1 week ago