Question: Scenario 1: Rent A Van wants a program that calculates the total cost of renting a van. Customers pay a base fee plus a charge

Scenario 1: Rent A Van wants a program that calculates the total cost of renting a van. Customers pay a base fee plus a charge per mile driven. RM700 is the base fee, and the charge per mile is based on the table below. Request the input from the user. If value entered is not positive, ask user to re-enter the correct value and display text message. You also need to use and apply basic loop structure. Mileage Extra Charge 0-99 100-500 500 RM 100 RM 320 RM 500 Scenario 2: A student is only qualified for a scholarship if he/she has studied for more than 1 year, CGPA is not less than 3.0 and guardian's salary is less than RM1000. Otherwise, display "You are not qualified for scholarship". Show the problem analysis, produce the pseudocode, draw the flowchart and write the C program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
