write a program to take input principal rate of interest and time calculate the simple interest and print simple interest total amount
Answers
Answered by
5
Answer:
C Exercises: Compute the simple interest
Pictorial Presentation:
Sample Solution:
C Code: #include<stdio.h> int main() { int p,r,t,int_amt; printf("Input principle, Rate of interest & time to find simple interest: \n"); scanf("%d%d%d",&p,&r,&t); int_amt=(p*r*t)/100; printf("Simple interest = %d",int_amt); return 0; } ...
Flowchart:
C programming Code Editor:
Similar questions