In college, there are certain requirements for various courses. For example, Value Seminar in our school requires junior or senior standing. In our school to graduate the student needs to complete at least 121 credits. The standing status for each year is defined as follows for College of Arts and Sciences in our school:
Write a program that reads number of credits student took so far and the 3-digit course number student would like to take. The program
prints
eligibility message for the student.
Assume that input is VALID
Use the following rules:
Write a function standing, that has one parameter, the number of credits student completed so far. The function returns, 1 if the student is Freshman, 2 - Sophomore, 3 - Junior, 4 - Senior
Write a function eligible that has two parameters, student standing and 3-digit course number. The funcion returns True, if the student is eligible to take the course, and False otherwise. Use the following rules:
Write a program that reads number of credits student took so far and the course number student would like to take. The program prints eligibility message for the student. Assume that input is VALID.