AD 1

Posted by : Unknown Friday, November 21, 2014

Program Sorce Code:-

Type this code in your compiler. Then Compile and Run. I have used Dev C++.

# include <stdio.h> 
main () 

    int p=5000,r=3; 
    int T,SI,AMT; 
    printf("Principal = %d\nRate = %d % \n",p,r); 
    printf("Time="); 
    scanf("%d",&T); 
    SI=(p*r*T)/100; 
    AMT=SI+p; 
    printf("\n Amount at the end of %d years is=%d",T,AMT); 



INPUT:-



OUTPUT:-



Leave a Reply

Subscribe to Posts | Subscribe to Comments




Total Pageviews

Popular Post

Source

Powered by Blogger.

About Us

- Copyright © Music Technology & Sports Junction -Metrominimalist- Powered by Blogger - Designed by Johanes Djogan -