E-mail : gbloggers30@gmail.com
In this easy coded program, you will learn how to calculate simple interest until the user says to continue by taking input of principle amount, number of years, rate of interest and wish for continuation from the user. Try adding final calculated amount which will include the principle amount plus the calculated simple interest in this program for your self practice. --------------------------------------------------------------------------- Program to Calculate Simple Interest Until User Says to Continue /*Simple Interest Until User says to Continue- do while loop*/ #include<stdio.h> void main () { float p, n, r, si; char opt; do { printf( "Enter Principle Amount, No. of Year...
Comments
Post a Comment
Please do not comment any spam links in the comment box.