Header Ads Widget

Responsive Advertisement

Ticker

6/recent/ticker-posts

IO 33

 IO 33 Solution:

#include <stdio.h>

int main()

{

  float P=10000,i=0.07,t=5,I,A;

  scanf("%f",&P);

  scanf("%f",&i);

  scanf("%f",&t);

  I=(P*i*t)/100;

  A=P+I;

  printf("\nInterest=%.2f",I);

  printf("\nAmount=%.2f",A);

return 0;

}

Post a Comment

0 Comments