//This programme is tested on visual studio 2012//
#include <iostream>
using namespace std;
voud main ()
{
int a,b,c;
cout<<"------------------------------------------------------------------------------\n";
cout<<"This programme will print biggest of three numbers\n";
cout<<"------------------------------------------------------------------------------\n";
cout<<"Enter first number \n";
cin>>a;
cout<<"Enter second number \n";
cin>>b;
cout<<"Enter third number \n";
cin>>c;
cout<<"\n\n";
if (a>b>c)
cout<<a<<" is biggest num \n";
if (b>c>a)
cout<<b<<" is biggest num \n";
else cout<<c<<" is biggest num \n";
cout<<"\n\n------------------------------------------------------------------------------\n";
cout<<"Thank You for using.\n\nVisit http://bilalzahid22.blogspot.com/ for more\n";
cout<<"\n------------------------------------------------------------------------------\n";
}


0 comments:
Post a Comment