Write a C# program that accept a student biodata; names, age, sex and address. You should also do the following: 1.       Accept n number of courses and their scores for each student 2.       Assign appropriate unit to each of the course entered. 3.       Classify the scores according to the table below Letter Grade Point Mark % A 4 70 – 100 B 3 60 – 69 C 2 50 – 59 D 1 45 – 49 E 0 0 – 44   Grade Point per course (GP) = unit*point Total Weighted Grade Point (TWGP) = ∑GP Total Number of Unit (TNU)= ∑units Computation of Cumulative Grade Point Average (CGPA) In order to obtain the Cumulative Grade Point Average (CGPA) of a student = TWGP/TU The value of CGPA shall be expressed correct to two decimal place. Cumulative Grade Point Average Class of Degree 3.5 – 4.00 First 3.0 – 3.49 Second Class Upper 2.0 -2.99 Second Class Lower 1.0 – 1.99 Third Class <1.0 Fail Finally, generate the class.   Note: Use Switch statement not If statement.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter7: Arrays
Section: Chapter Questions
Problem 9PP: (Data processing) Your professor has asked you to write a C++ program that determines grades at the...
icon
Related questions
icon
Concept explainers
Question

Write a C# program that accept a student biodata; names, age, sex and address. You should also do the following:

1.       Accept n number of courses and their scores for each student

2.       Assign appropriate unit to each of the course entered.

3.       Classify the scores according to the table below

Letter Grade

Point

Mark %

A

4

70 – 100

B

3

60 – 69

C

2

50 – 59

D

1

45 – 49

E

0

0 – 44

 

Grade Point per course (GP) = unit*point

Total Weighted Grade Point (TWGP) = ∑GP

Total Number of Unit (TNU)= ∑units

Computation of Cumulative Grade Point Average (CGPA) In order to obtain the Cumulative Grade Point Average (CGPA) of a student = TWGP/TU

The value of CGPA shall be expressed correct to two decimal place.

Cumulative Grade Point Average

Class of Degree

3.5 – 4.00

First

3.0 – 3.49

Second Class Upper

2.0 -2.99

Second Class Lower

1.0 – 1.99

Third Class

<1.0

Fail

Finally, generate the class.

 

Note: Use Switch statement not If statement.

Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Operators
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning