Friday, January 18, 2013

C Language Example # 06 Find Simple Interest In = PRN/100

C Language Example # 06  Find Simple Interest Using C Interest = PRN/100

Lets find the Simple Interest, Its very simple one !

C Language Code:

//Written by Latest Technology Guide    
//Title : Example 06 :  Find Simple Interest In = PRN/100.

#include <stdio.h>
#include <conio.h>
void main()
int n;
float p,r,si;

printf("\nEnter Principal        :");

printf("\nEnter Rate of Interest :");

printf("\nEnter Number of Years  :");

printf("\n\nSimple Interest is : %.2f",si);



We think there is no need of Output for this program.

Explanation of C Language Example # 0 Find Simple Interest Using C Interest = PRN/100

* Enter Principal Amount, Rate of Interest and years.
* Program will calculate the Simple Interest.
* Formula for Simple Interest is SI = prn/100.

Note: All programs are developed and tested using Turbo C++ 3.0 under Windows XP. We just want to provide guidelines to the users. If you are using any other Compiler or other operating system they you need to modify this program as per your requirements. 

No comments:

Post a Comment