+ 1
C++, Why did I Get a Bad Code output?
I tried to play with the existing code in this lesson by adding a new line, but I got a bad code output. Can anybody tell me why? https://code.sololearn.com/cn22iNj6HT22/#cpp
1 Answer
+ 5
At the end of the lines, you have to write ;
Put a ; at the end of the line 8 and the code will work.