..
Free
|
|||||||
|
|
|||||||
/* Program to find largest of two numbers,no.s can be same.*/#include<stdio.h> #include<conio.h> int main() { int a,b; clrscr(); printf("enter value of a:"); scanf("%d",&a); printf("enter value of b:"); scanf("%d",&b); if(a==b) { printf("numbers are equal"); } else if(a>b) { printf("a is larger."); } else { printf("b is larger."); } getch(); return 0; } COPYRIGHT 2009 ALL RIGHTS RESERVED FREECPROGRAMS.COM |
|||||||