/*C++ program to find greatest of two numbers*/

#include<iostream.h>
#include<conio.h>
void main()
{
int a,b;
clrscr();
cout<<“enter the values of a,b:”;
cin>>a>>b;
if(a>b)
{
cout<<a<<“is greater”;
}
else
{
cout<<b<<“is greater”;
}
getch();
}

106,971 total views, 164 views today

Get Free Email Updates..!
Join us for FREE to get instant email updates..! GobsInfo- Everything Unlimited
We hate spam. Your email address will not be sold or shared with anyone else.

7,410 Thoughts to “C++ program to find greatest of two numbers”

  1. Heya i’m for the first time here. I found this board and I find It truly useful
    & it helped me out a lot. I hope to present something again and
    aid others such as you aided me.

  2. I must say, as considerably as I enjoyed reading what you had to say, I couldnt help but lose interest after a while. Its as if you had a good grasp around the topic matter, but you forgot to include your readers. Perhaps you should think about this from much more than one angle. Or maybe you shouldnt generalise so a lot. Its better if you think about what others may have to say instead of just going for a gut reaction to the subject. Think about adjusting your own believed process and giving others who may read this the benefit of the doubt.
    nike outlet orlando https://www.long-beach-air-conditioning.com/nike/

  3. There is noticeably a bunch to know about this. I assume you made various nice points in features also.
    reebok boxing shoes https://watboonnimit.com/reebok/

Leave a Comment