Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A student can take between 12 and 15 credit hours for a flat rate of $1920 per semester. The cost per credit hour is
A student can take between 12 and 15 credit hours for a flat rate of $1920 per semester. The cost per credit hour is $160 if the student takes less than 12 credit hours. If a student takes more than 15 credit hours, any additional credit hour over 15 is 2 off (or $80 for credit hour). Write the algorithm using pseudo code to provide the cost for the semester. Though you could use a loop to go through each record, for this assignment just list the conditional logic to determine the cost for the semester. Create the test data need to test your algorithm properly and completely.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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