2. Write an application that will calculate the Cummulative Grade Point Average [CGPA] using While Loop for 3 students. You have to enter the GRADE POINT of 5 different subjects for a student. You have to enter the CREDIT for each of the 5 subjects for a Student. GRADE POINT can take any value as given [5,6,7,8,9,10] CREDIT can take any value as given [2,3,4] CREDIT POINT = GRADE POINT * CREDIT %3! CGPA = CREDIT POINT / Sum of the CREDIT values of all the 10 semesters. %3D Display all the 5 subjects GRADE POINT Display all the 5 subjects CREDIT Display the CREDIT POINT Display the Total of all the CREDIT values Display the CGPA Do the above program for 3 students totally. Save your Shell script as cgpa.sh

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter6: Using Arrays
Section: Chapter Questions
Problem 2CP
icon
Related questions
Question
2. Write an application that will calculate the Cummulative Grade Point Average [CGPA] using
While Loop for 3 students.
You have to enter the GRADE POINT of 5 different subjects for a student.
You have to enter the CREDIT for each of the 5 subjects for a Student.
GRADE POINT can take any value as given [5,6,7,8,9,10]
CREDIT can take any value as given [2,3,4]
CREDIT POINT = GRADE POINT * CREDIT
CGPA = CREDIT POINT / Sum of the CREDIT values of all the 10 semesters.
Display all the 5 subjects GRADE POINT
Display all the 5 subjects CREDIT
Display the CREDIT POINT
Display the Total of all the CREDIT values
Display the CGPA
Do the above program for 3 students totally.
Save your Shell script as cgpa.sh
Transcribed Image Text:2. Write an application that will calculate the Cummulative Grade Point Average [CGPA] using While Loop for 3 students. You have to enter the GRADE POINT of 5 different subjects for a student. You have to enter the CREDIT for each of the 5 subjects for a Student. GRADE POINT can take any value as given [5,6,7,8,9,10] CREDIT can take any value as given [2,3,4] CREDIT POINT = GRADE POINT * CREDIT CGPA = CREDIT POINT / Sum of the CREDIT values of all the 10 semesters. Display all the 5 subjects GRADE POINT Display all the 5 subjects CREDIT Display the CREDIT POINT Display the Total of all the CREDIT values Display the CGPA Do the above program for 3 students totally. Save your Shell script as cgpa.sh
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Array
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
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT