C programming

Saturday, January 17, 2009

#include #include void main() { int a,b,c; clrscr(); printf("Enter three number:"); scanf("%d%d%d",&a,&b,&c); if(a>b&&a>c) printf("\nThe large number is=%d",a); else if(b>a&&b>c) printf("\nThe large number is=%d",b); else printf("\nThe large number is=%d",c); if(a printf("\nThe small number is=%d",a); else if(b printf("\nThe small number is=%d",b); else printf("\nThe small number is=%d",c); getch(); }

0 comments:

Visitors

PlugIn.ws - Free Hit Counter, Web Site Statistics, Traffic Analysis

  © Blogger template Leaving by Ourblogtemplates.com 2008

Back to TOP