Distribute Tuition Fee into Installments




Problem: Tuition fee of a student will be inputted and it will be asked that in how many installments the fee will be payed. Then you will have to output the amounts per installments in integer value. 


Input: The amount of fee in integer. The number of installments in integer.



Output: Amount of money for each installments in integer.



Example:



Amount: 18880
Installments: 7

Installment 1: 2697
Installment 2: 2697
Installment 3: 2697
Installment 4: 2697
Installment 5: 2697
Installment 6: 2697
Installment 7: 2698

Screenshot:


Download: Download the PROGRAM for testing purpose. 


JOIN THE COMMUNITY

Like & Share with people you care

No SPAM, only email notification if new posts were published.

Recommended Recommends

Comments

Contact Us