Job 17405

Owner
HorusOSA
Problem
A+B
Source
0.07KB
Result
Compile error (Non-zero exit status: 1)

Compiler output

prog.cpp:3:1: error: expected primary-expression before 'short'
 short int a,b;
 ^
prog.cpp:3:1: error: expected '}' before 'short'
prog.cpp:3:1: error: expected ',' or ';' before 'short'
prog.cpp:4:1: error: 'cin' does not name a type
 cin>>a>>b;
 ^
prog.cpp:5:1: error: 'cout' does not name a type
 cout<<a+b;
 ^
prog.cpp:6:1: error: expected declaration before '}' token
 }
 ^

Questions?

Sponsors Gold