Computer Science, asked by palvikarathore2006, 5 months ago

A library charges a fine for books returned late. Following are the fines:
Days Fine
First five days 40 paise per day
Six to ten days 65 paise per day
Above ten days 80 paise per day

Design a program to calculate the fine assuming that a book is returned n days late.

Answers

Answered by shreyash3743
5

Answer:

yes we can talk at the very movement are free now

Answered by subhamchoudharyccs
0

Answer:

A special two digit number is such that when the sum of its digits is added to the product of its digits, the result is equal to the original two-digit number,

Example : Consider the number 59

 Sum of digit = 5+9=14

 Product of digit=5*9=45

 Total of the sum of digit and product of digits= 14+45=59

Write a program to accept a two-digit number. Add the sum of its digits to the product of its digits. If the value is equal to the number input, output the message “ Special two-digit number”, otherwise, output the message “Not a special two-digit number.

Explanation:

Similar questions