Breaking News
Loading...

Breaking News

Header Ads

Simple Interest Program Using C Language

   Simple Interest Program Using C Language




Code:-

#include <stdio.h>
int main()
{
    int p;
    float tsir;

    printf("*********Simple Interest Program********\n");
    printf("Enter the principla value:");
    scanf("%d", &p);
    printf("Enter the Rate value:");
    scanf("%f", &r);
    printf("Enter the Time:");
    scanf("%f", &t);

    si = p * r * t / 100;
    printf("The Answer is:%f\n",si);

    return 0;
}

Post a Comment

0 Comments

 SQUID GAME