Write a program to find the biggest number
#include<iostream.h>
#include<conio.h>
#include<iomanip.h>
void main()
{
clrscr();
int x,y,big;
cout<<"Enter the first no:";
cin>>x;
cout<<"Enter the second no:";
cin>>y;
if(x>y)
big=x;
else
big=y;
cout<<"Big no="<<big;
getch();
}
Output:
Enter the first no:23
Enter the second no:33
Big no=33
No comments:
Post a Comment