#include<stdio.h>
#include<conio.h>
void main()
{
int amnt;
clrscr();
printf("ENTER AMOUNT");
scanf("%d",&amnt);
if(amnt>1000)
{
amnt=amnt-100;
}
printf("Amount Payable is %d",amnt);
getch();
}
Copyright © 2010 C Programs
Icons & Wordpress Theme by N.Design | Blogger Templates by Blog and Web
0 comments: (+add yours?)
Post a Comment