Thursday, 20 September 2018

Biggest of 2 numbers

#include<stdio.h>
#include<conio.h>
{  int a,b;
   clrscr();
   printf("\nEnter two number:\n");
   scanf("%d%d",&a,&b);
   if(a>b)
   printf("\nBiggest number is %d",a); 
   else
   printf("Biggest number is %d",b);
   getch();
}

No comments:

Post a Comment