/*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();
}

31,699 total views, 4 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.

2,237 Thoughts to “C++ program to find greatest of two numbers”

  1. De modo normalmente, recomendo consumo de whey protein Solit√°rio. http://winnetkatravel.com/install/info.php/RK=0/RS=.stekq0WOsjMM…?a[]=%3Ca%20href=http://tinyurl.com/y7432c6d%3Eo%20autor%20%3C/a%3E

  2. Nice blog! Is your theme custom made or did you download it from somewhere? A design like yours with a few simple tweeks would really make my blog shine. Please let me know where you got your theme. Thank you
    barbour store http://www.barbourstore.online

Leave a Comment