Computer Science, asked by as5478809, 5 hours ago

write a program to calculate simple
interest where principal is 5000
rate is 8%. Time is 5 year.

Answers

Answered by AllenGPhilip
3

Explanation:

si = pit \\  =  > 5000 \times 8\% \times 5 \\  =  > si = 2000

Answered by MrTSR
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