Write a c program to check the highest number among two integer number - CodeTextPro | Free Web Tutorial

Codetextpro Provides free Web tutorial, HTML, CSS, C, C++, Java, JavaScript, PHP, MySql, Python, Program, Programming Notes, Programming Questions and more.

Programming

Friday, January 4, 2019

Write a c program to check the highest number among two integer number

check the highest number among two integer number

#include<stdio.h>
#include<conio.h>
main()
{
int a,b;
printf("enter two number");
scanf("%d%d",&a,&b);
if(a>b)
{
printf("a is big");
}
else
{
printf("b is big");
}
getch();
}

No comments:

Post a Comment