C++, Why did I Get a Bad Code output? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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

27th May 2020, 5:30 PM
Dancing coyote
Dancing coyote - avatar
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.
27th May 2020, 5:32 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar