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.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter5: Making Decisions
Section: Chapter Questions
Problem 4PE
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
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT