+ 2
what is the error in this code?
2 Respostas
+ 4
The error code tells you that scanf and printf aren't defined. You'll need to #include <cstdio> to use those functions, or use cin and cout which are part of iostream that you're currently importing.
You've also missing a semi colon after the final printf.
0
try to find it