Problem | addition |
---|---|
User | haileyc |
Submission Time | 2024-01-29 16:11:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
addition.cpp: In function ‘int main()’:
addition.cpp:7:10: error: expected ‘;’ before ‘cout’
7 | cin >> a
| ^
| ;
8 | cout << "b =";
| ~~~~
addition.cpp:9:10: error: expected ‘;’ before ‘c’
9 | cin >> b
| ^
| ;
10 | c = a + b;
| ~
addition.cpp:11:10: error: expected primary-expression before ‘<<’ token
11 | cout << << c >>
| ^~
addition.cpp:11:13: error: ‘c’ was not declared in this scope
11 | cout << << c >>
| ^
addition.cpp:12:1: error: expected primary-expression before ‘}’ token
12 | }
| ^