This is c program that ask user to find out the interest of value. Here user declares the variables for containing the value in it. User has all components to find out the interest of value. User asks to enter the number for program execution and use the method of Simple interest. Display the result on the screen as output.
This is c program that ask to find out the simple interest.
- Declare the variables.
- Using S.I method.
- Display result on the screen.
Syntax of Simple interest method:
“si =p*r*t/100; “
Here is C source code to find out the Simple interest. Output of this program shown below.
printf("enter the p,r,t");