Question: C language please Assignment Content This Project requires concepts inclusive of Chapters 1 - 3 . You must use branching ( Chapter 3 ) and

C language please
Assignment Content
This Project requires concepts inclusive of Chapters 1-3.
You must use branching (Chapter 3) and variables with correct data types and format specifiers (Chapter 2).
Careful attention to detail on format is very important for this project. Please reference the example output provided.
You have been hired by Tulsa County library to write a C program to calculate library fines.
The program will ask the user for the value of the book, how many days a book was borrowed as agreed, as well as how many days
the book was actually kept. The difference between those will be the number of days the fine will be calculated on (the fine must be
capped at the price of the book).
Fines are as follows:
1 to 7 days =50 cents per day
8 to 21 days =$1.25 per day
21 to 30 Days =$2.25 per day
31 days and beyond $4 per day
Welcome to the Tulsa County library fine calculator
Please enter price of the book: 39.99
Please enter agreed days borrowed: 7
Please enter days kept: 9
Agreement was 7 days but book kept for 9 days, fine for 2 days is $1.00
 C language please Assignment Content This Project requires concepts inclusive of

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!