Question: Book Rental Assignment in C Programming For this assignment you need to take the users input and convert users book cost to satisfy the following

Book Rental Assignment in C Programming

For this assignment you need to take the users input and convert users book cost to satisfy the following situations using if/else, and switch statements:

-if user is student, they only pay 10% for book rental.

-if user is something else, they will pay 30% on the first $100 and then 10% on any additional amount over $100.

**keep in mind that at the end of your mathematical conversions, you will need to convert the amount they will pay to the correct amount value in words (See example below)**

**make sure to use separate Methods/functions to organize your program properly**

See image below-

Book Rental Assignment in C Programming For this assignment you need to

EXAMPLE: Welcome User! Find out the cost for your rental fee below. What is the cost of the book? 525.99 Are you a student or other? S Your rental fee will be: $52.59 Welcome User! Find out the cost for your rental fee below. What is the cost of the book? 1050.00 Are you a student or other? O Your rental fee will be: $125.00 Conversion: one hundred twenty five dollars and zero cents

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!