0

How to solve this program

a library changes fees for books returned late as given below– first 5 days-0. 40 paisa/day 6 to 10 days-0. 65 paisa/day above 10 days-0. 80 paisa/day write a program to calculate the fine charged that the book is returned N days late.

6th Nov 2016, 5:56 AM
Debangshu Singh
Debangshu Singh - avatar
1 Answer
+ 3
Use if statements for the conditions.. initialize a variable for number of days
6th Nov 2016, 6:04 AM
Sandeep Balachandran
Sandeep Balachandran - avatar