Que. Write a C program to find maximum between two numbers.
Ans.
#include<stdio.h>
int main()
{
int a,b;
printf("Enter the two numbers : ");
scanf("%d %d",&a,&b);
if(a>b)
{
printf("the biggest number is %d :");
}
else
{
printf("the Smallest number is %d and biggest is second One :) ");
}
return 0;
}
Input :
Comments
Post a Comment