1: #include<iostream.h>
2: #include<conio.h>
3: #include<stdio.h>
4: void main()
5: {
6: int a,b;
7: cout << "Enter 2 numbers" << endl;
8: cin>>a>>b;
9: if (a>b)
10: cout << "Greater is : " << a<<endl;
11: else
12: cout << "Greater is : " << b<<endl;
13: getch();
14: }
getsprogramming Tutorials , C Programming, CPP Programming and JAVA Programming , Python Programming , Javascript Programming Welcome to getsprogramming Blog Here You Find Different Programs in Easier way to Explain and gain Knowledge and Try Your Self..Thanks
Tuesday, 29 September 2015
Write a CPP Program To Find Greater Number From Inputed Two Numbers
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment