Previous Program »» C Program for specific formula
Here we will learn a program to compare 2 numbers and tell which of the 2 is big.
The Program goes like this:-
Next Program »» C Program to compare 3 Numbers
For further Knowledge and Tutorial Keep Visiting :-
TechJatt - The source for all kind of Tutorial on Ethical Hacking
Like Us on Facebook or Follow on Twitter or Add to Circles on Google + to remain updated
Here we will learn a program to compare 2 numbers and tell which of the 2 is big.
The Program goes like this:-
#include <stdio.h>
#include <conio.h>
void main()
{
clrscr();
int=a,b;
printf("Enter any two numbers: ");
scanf("%d %d",&a,&b);
if (a>b);
{
printf("a is big");
}
else
{
printf ("b is big");
}
getch();
}
Next Program »» C Program to compare 3 Numbers
For further Knowledge and Tutorial Keep Visiting :-
TechJatt - The source for all kind of Tutorial on Ethical Hacking
Like Us on Facebook or Follow on Twitter or Add to Circles on Google + to remain updated