Friday, May 10, 2013

Simple Interest Calculation

    /* Simple Interest Calculation */
    /* Suchetan Dey */
   
    #include<stdio.h>
    #include<conio.h>
    void main()
      {
         float rate_of_money,year,interest,simple_interest;
         printf("Enter The Rate Of Money ");
         scanf("%f",&rate_of_money);
         printf("Enter The Year ");
         scanf("%f",&year);
         printf("Enter %Of Interest ");
         scanf("%f",&interest);
         simple_interest=(rate_of_money*year*interest)/100;
         printf("The Simple Interest Is %.2f",simple_interest);
         getch();
      }

The Output is :-

No comments:

Post a Comment