Logo 
Search:

C Programming Articles

Submit Article
Home » Articles » C Programming » Mathematics ProgramRSS Feeds

Program calculate the Interest

Posted By: Waldemar Fischer     Category: C Programming     Views: 3138

Write a program calculate the Interest.

Code for Program calculate the Interest in C Programming

#include<stdio.h>
#include<conio.h>

void main()
{
    int p,n;
    float x,r;
    clrscr();
    printf("Enterthe value of P:- ");
    scanf("%d",&p);
    printf("Enterthe value of N:- ");
    scanf("%d",&n);
    printf("Enterthe value of R:- ");
    scanf("%f",&r);
    x = p * r * n / 100;
    printf("The Interest Value Us :- %8.2f ",x);

    getch();

}
  
Share: 


Didn't find what you were looking for? Find more on Program calculate the Interest Or get search suggestion and latest updates.

Waldemar Fischer
Waldemar Fischer author of Program calculate the Interest is from Frankfurt, Germany.
 
View All Articles

 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!