Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Java please, with explanation thanks In this problem, you will calculate whether or not a student's GPA and CGPA put them in danger of either

image text in transcribedimage text in transcribedJava please, with explanation thanks

In this problem, you will calculate whether or not a student's GPA and CGPA put them in danger of either being put on probation or being dismissed. You will proceed as in Problem 2. However, you will be keeping track of progress to make sure that student's academic standing is progressing as planned.[1] After outputting semester details, you will check the CGPA to make sure that it is 2.0 or above. If so, before proceeding to the next semester, you will output "STATUS: GOOD STANDING" If the CGPA has dropped below 2.0 for the first time or their GPA for that semester was at least 2.0, you will output "STATUS: PROBATION" and carry on outputting further semester details. If a student started the semester on probation status (.e. the previous CGPA was below 20) and the current semester GPA is less than 2.0, you will output "STATUS: DISMISSED" and ignore all further semester data. If not already dismissed, if a student's CGPA returns to 2.0 or greater, they return to good standing. Input (Same as Problem 2) Processing For each semester: 1. Calculate the CGPA and GPA for each semester and output semester information as in Problem 2 - DON'T APPLY GRADE REPLACEMENT RULE 2 Determine the student's academic standing as described above and based on this calculation, output one of: "STATUS: GOOD STANDING" "STATUS: PROBATION" or "STATUS: DISMISSED" Output format SEMESTER: {semester name} GPA: (calculated GPA rounded to 2 decimal places} CGPA: (calculated CGPA to that point rounded to 2 decimal places} STATUS:{status at end of semester) SEMESTER: {semester name} Output format SEMESTER: {semester name} GPA:{calculated GPA rounded to 2 decimal places} CGPA: {calculated CGPA to that point rounded to 2 decimal places} STATUS:{status at end of semester} SEMESTER: {semester name} GPA: {calculated GPA rounded to 2 decimal places) CGPA: {calculated CGPA to that point rounded to 2 decimal places} STATUS: (status at end of semester} Sample Input Sample output 3 SEMESTERS 5 CLASSES SEMESTER: Transfer Credits GPA: 2.3 CGPA: 23 STATUS: GOOD STANDING Transfer Credits MATH 1000,C+ Summer 2018 SEMESTER: Summer 2018 GPA: 1.0 CGPA: 1.43 STATUS: PROBATION CSCI 1107.C CSCI 1120,F Fall 2019 SEMESTER: Fall 2019 GPA: 1.35 CGPA: 1.4 STATUS: DISMISSED CSCI 1110,- MATH 1010,D

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

Modern Datalog Engines In Databases

Authors: Bas Ketsman ,Paraschos Koutris

1st Edition

1638280428, 978-1638280422

Students also viewed these Databases questions