Firstly, read this. It gives advice on asking questions in a way that is more likely to elicit a response.
Computers are ignorant machines. C++ compilers are ignorant programs that run on ignorant machines. Your source code is therefore a series of instructions that will be interpreted literally by an ignoramus. If you write the code imprecisely, that ignoramus will give you the wrong results, over and over .....
Given the code;
Code:
cout << "Please enter integers values for a " << endl;
cin >> number;
cout << "Please enter integers values for b " << endl;
cin >> number;
our ignoramus practices no magic. It stores both values input by the user into variable "number". The first value is not magically copied to the variable a and the second value input is not copied magically into the variable b. In the code, I've quoted the first instance of "cin >> number;" needs to be replaced with "cin >> a;" and the second by "cin >> b;".
Incidentally, the rule you're trying to code up is "Cramer's". There is only one 'm'. People can cope with imprecision only so far.