Thank you so much for your helpful guidelines! Here is my working code now:
using namespace std;
string Check(int b);
int a, b;
cout << "Test" << endl;
b = 2;
string Check(int b)
cout << "5 Is greater than 2" << endl;
cout <<"5 is not greater than 2" << endl;
However I have another question. Is it really necessary to do Check(b); inside the function main?
If I change that to say, Check(a); with the variable declared globally the answer would still come out the same. The same result comes out if I do Check(5); as well.
Is it suppose to be like that or is there something I am doing wrong? I am using Microsoft Visual Studio 2010 by the way.