Eureka! Thanks a bunch...
This is what i did:
Code:
int main()
{
int x,z;
cout << "Please enter a number x: ";
cin >> x; // "cin >>" means accept input from the user!
cout << "Please enter number z: ";
cin >> z;
int c = x + z;
cout << "x + z = " << c << "\n"; // "<<" means user enters data and ">>" means computer outputing data! and remember to give each variable its own "<<" insertion or you will get an error
}
Is their a specific reason why it should be placed in that order and is it the only way?? because it looks a little messy now..(i might just be overdoing the tidiness of the codes)