Question: Python only A certain university classifies students according to credits earned. A student with less than 30 hours is a Freshman. At least 30 credits

Python only

A certain university classifies students according to credits earned. A student with less than 30 hours is a Freshman. At least 30 credits are required to be a Sophomore, 60 to be a Junior, and 90 to be a Senior. Write a program that calculates class standing from the number of credits earned with the following specifications: 1. Write a function named determineStatus() that prompts the user for how many credits they have earned and uses a decision structure (if, else, etc.) to determine the class standing of the student. The function should display the standing to the student (85 points). 2. If the user tries to enter a negative value, the program should alert the user that negative numbers are not allowed (5 points). 3. Write a main() function that calls the determineStatus() function (5 points).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!