Question: Create a solution that accepts a string input representing a college and an integer input identifying the number of credit hours to be taken for

 Create a solution that accepts a string input representing a college

Create a solution that accepts a string input representing a college and an integer input identifying the number of credit hours to be taken for the upcoming semester. The following dictionary tuition lists available colleges as the key with the cost per credit hour as the value. tuition = \{MFN":202, "UDY":422, 'GNE::452, "WBA": 287, TKL: 434, 'TXW:419\} Additionally, - If a student is taking fewer than 6 credits, the price is the full cost per credit hour. - If a student is taking between 6 and 11 credits (inclusive), the student gets a 15% discount. - If a student is taking 12 or more credits, the student gets a 40% discount. Output the chosen college and total cost of tuition to two decimal places. The solution output should be in the format pollege_name stotal_tuition_cost Sample Input/Output: If the input is then the expected output is MEN $1454.40 Alternatively, if the input is then the expected output is Previous

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!