write a program to calculate simple
interest where principal is 5000
rate is 8%. Time is 5 year.
Answers
Answered by
3
Explanation:
Answered by
4
CōDE :
Cōde has been written in C Language.
#include<stdio.h>
int main()
{
int principle=5000, rate=8, year=5;
int simpleIntrest = (principle*rate*year) / 100;
printf("The value of simpleIntrest is %d",simpleIntrest);
return 0;
}
Output:
The value of simpleIntrest is 2000.
Attachments:
Similar questions