You are viewing a single comment's thread. Return to all comments →
using namespace std;
int Number_One, Number_Two, Number_Three;
cin >> Number_One >> Number_Two >> Number_Three;
cout << Number_One + Number_Two + Number_Three << endl;
Why my code is not working when i m using a,b,c
Declar a,b,c irst
From where Cin will read(take) values?
How this code will know 1 3 7 number?
//And why can't, it accept;
int sum = Number_One + Number_Two + Number_Three;
Cin will take the input from the user.
1 3 7 numbers are just examples. Code will perform the execution on the basis of what numbers user type.
It can accept int sum but take note of the syntax-
There are lots of headerfiles infact we only need two or three from them then y u had written altot?