Question
write a Python program that helps a graduate students calculate their tuition for the semester. The program should ask how many credit hours the student
write a Python program that helps a graduate students calculate their tuition for the semester. The program should ask how many credit hours the student is taking, and whether the student is in-state or out-of-state, and finally print the total tuition. The total tuition is calculated as number of credits * 296 for in-state students, and number of credits * 1066 for out-of-state students.
Examples of input/output
Python
please enter the number of credits
are you in state student(yes/no):yes
your tuition cost is:
please enter the number of credits
are you in state student(yes/no):no
your tuition cost is:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
You can create a Python program to calculate tuition for graduate students as follow...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started