Tha Protem Vwill First Eceve String Idertitying Semester Folowed Number Coutses Wee Talon Q43868442
java plz
java
In tha protem, you vwill first eceve a string idertitying the semester folowed by the number of coutses that wee talon duing that semester On the remaining lines, you wil receve course name and ister grade jol those isted in the Grade Point Scale abovej separated by a comma to be usedin computing the grade point average (GPA lor the semester. To do this, you must fest convert esch grade lete to the appropriste grade point value You will disregard all grades that are ol neutral value ie Wand KL grades You wil then tnd the average of those grade point values Input • Samester name • Number of courses talon that semester • The remaining lines contain intormarion for each course taben that semester in the folowing fomat o course code folowed by grade letter obtaned, each separaled by a oomma Processing L Convert cach kener grade to the appropriate grade point value • Disegard any neutral grade leters jeg Wor ILL grades) 2 Fnd the avesage of those values rounded to two decimal pleces 3 Cutput GPA as defined below Outpu tormat SEMESTER (semester reme GPA calolaled GPA IDunded to 2decimal places) Sample pt Sanple cupu MESTER F 39 Summe 2 SEVESTER Sur 20s c 20 CSO ASS ZISLW Thamater ccit 20 SEMESTER hter oe 2 zzaza- In this problem, you will first receive a string identifying the semester followed by the number of courses that were taken during that semester. On the remaining lines, you will receive course name and letter grade (of those listed in the Grade Point Scale above) separated by a comma, to be used in computing the grade point average (GPA) for the semester. To do this, you must first convert each grade letter to the appropriate grade point value. You will disregard all grades that are of neutral value (i.e. W and ILL grades). You will then find the average of those grade point values. Input • Semester name • Number of courses taken that semester The remaining lines contain information for each course taken that semester in the following format: o course code followed by grade letter obtained, each separated by a comma Processing 1. Convert each letter grade to the appropriate grade point value • Disregard any neutral grade letters (e.g. W or ILL grades) 2. Find the average of those values rounded to two decimal places 3. Output GPA as defined below Output format SEMESTER: (semester name) GPA: (calculated GPA rounded to 2 decimal places) Sample input Sample output SEMESTER: Fall 2019 Fall 2019 GPA: 3.12 CSCI 1105,A CSCI 1107,8 CSCI 1800,C CSCI 1110,A+ CSCI 1120,C+ Summer 2018 SEMESTER: Summer 2018 GPA: 2.0 T4 Sample input Sample output Fall 2019 SEMESTER: Fall 2019 GPA: 3.12 CSCI 1105,A CSCI 1107,B CC 1800,C CSCI 1110.A+ CSCI 1120,C+ SEMESTER: Summer 2018 Summer 2018 GPA: 2.0 CSCI 1107.A CSCI 1800,C CSCI 110,F FASS 2232,W Transfer credits 2017 SEMESTER: Transfer credits 2017 GPA: 2.83 XX321,B YY322,C ZZ432,B AA332,W ZZ132,B+ QQ555,ILL Show transcribed image text In tha protem, you vwill first eceve a string idertitying the semester folowed by the number of coutses that wee talon duing that semester On the remaining lines, you wil receve course name and ister grade jol those isted in the Grade Point Scale abovej separated by a comma to be usedin computing the grade point average (GPA lor the semester. To do this, you must fest convert esch grade lete to the appropriste grade point value You will disregard all grades that are ol neutral value ie Wand KL grades You wil then tnd the average of those grade point values Input • Samester name • Number of courses talon that semester • The remaining lines contain intormarion for each course taben that semester in the folowing fomat o course code folowed by grade letter obtaned, each separaled by a oomma Processing L Convert cach kener grade to the appropriate grade point value • Disegard any neutral grade leters jeg Wor ILL grades) 2 Fnd the avesage of those values rounded to two decimal pleces 3 Cutput GPA as defined below Outpu tormat SEMESTER (semester reme GPA calolaled GPA IDunded to 2decimal places) Sample pt Sanple cupu MESTER F 39 Summe 2 SEVESTER Sur 20s c 20 CSO ASS ZISLW Thamater ccit 20 SEMESTER hter oe 2 zzaza-
In this problem, you will first receive a string identifying the semester followed by the number of courses that were taken during that semester. On the remaining lines, you will receive course name and letter grade (of those listed in the Grade Point Scale above) separated by a comma, to be used in computing the grade point average (GPA) for the semester. To do this, you must first convert each grade letter to the appropriate grade point value. You will disregard all grades that are of neutral value (i.e. W and ILL grades). You will then find the average of those grade point values. Input • Semester name • Number of courses taken that semester The remaining lines contain information for each course taken that semester in the following format: o course code followed by grade letter obtained, each separated by a comma Processing 1. Convert each letter grade to the appropriate grade point value • Disregard any neutral grade letters (e.g. W or ILL grades) 2. Find the average of those values rounded to two decimal places 3. Output GPA as defined below Output format SEMESTER: (semester name) GPA: (calculated GPA rounded to 2 decimal places) Sample input Sample output SEMESTER: Fall 2019 Fall 2019 GPA: 3.12 CSCI 1105,A CSCI 1107,8 CSCI 1800,C CSCI 1110,A+ CSCI 1120,C+ Summer 2018 SEMESTER: Summer 2018 GPA: 2.0
T4 Sample input Sample output Fall 2019 SEMESTER: Fall 2019 GPA: 3.12 CSCI 1105,A CSCI 1107,B CC 1800,C CSCI 1110.A+ CSCI 1120,C+ SEMESTER: Summer 2018 Summer 2018 GPA: 2.0 CSCI 1107.A CSCI 1800,C CSCI 110,F FASS 2232,W Transfer credits 2017 SEMESTER: Transfer credits 2017 GPA: 2.83 XX321,B YY322,C ZZ432,B AA332,W ZZ132,B+ QQ555,ILL
Expert Answer
Answer to In tha protem, you vwill first eceve a string idertitying the semester folowed by the number of coutses that wee talon d…
OR