0

Why can't i make it like this:

int a; a=100 int b; b=a cout<<a+b<<endl;

29th Oct 2018, 7:34 AM
M.O.HONOR
M.O.HONOR - avatar
3 odpowiedzi
+ 2
Two ; are missing.
29th Oct 2018, 7:43 AM
HonFu
HonFu - avatar
+ 2
thx m8
29th Oct 2018, 7:46 AM
M.O.HONOR
M.O.HONOR - avatar
+ 1
there is an error in line 2 & 4 there should be a semicolon at the end...!! corrected: int a; a=100; int b; b=a; cout<<a+b<<endl;
29th Oct 2018, 7:44 AM
Suraj Jha
Suraj Jha - avatar