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. 


Author: Tanmay Chakrabarty

Tanmay Chakrabarty is a former CSE student, currently working as a Senior Software Engineer with 5+ years of experience in the field of Web Application development in PHP+MySQL platform with strong skills in Javascript, JQuery, JQuery UI and CSS. He tries to write notes every week but fails due to heavy loads of duty.

Recommended Recommends

Comments

Contact Us