1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
//input the first argument
int arg1;
cout << "Enter the first argument: ";
cin >> arg1;
//input the second argument
int arg2;
cout << "Enter the second argument: ";
cin >> arg2;
//now decide what to do
if (arg1 > arg2)
{
cout << "Arguement 1 is greater than Argument 2"
<< endl;
}
else
{
cout<< "Argument 1 is not greater than Arguement 2"
<<endl;
}
system("PAUSE");
return EXIT_SUCCESS;
}
|