- 1

whats the error

#include <iostream> using namespace std; int main() { int a,b,c; a=10; b=8; c=a+b; cout<<c; return 0 };

9th May 2018, 6:13 PM
hritik mrdula
hritik mrdula - avatar
3 Antworten
+ 1
May be here: return 0; }
9th May 2018, 6:23 PM
Averand
+ 1
Your return statement needs a semicolon: return 0; Not the curly bracket
9th May 2018, 6:33 PM
TurtleShell
TurtleShell - avatar
0
thank you very much
3rd Jun 2018, 4:50 PM
hritik mrdula
hritik mrdula - avatar