Tuesday, August 23, 2016

Largest,Greatest Two Digit Number in C++

#include<iostream>
using namespace std;
int main()
{
int a,b,big;
cout<<"Enter two numbers  ";
cin>>a>>b;
if(a>b)
{
big=a;
}
else
{
big=b;
}
cout<<"Bigger number is "<<big;
return 0;
}




Do Comment,Share :)
Sharing is Caring ;)

No comments:

Post a Comment