Can anyone help me out. Why I'm getting error on my code. | Sololearn: Learn to code for FREE!

+2

Can anyone help me out. Why I'm getting error on my code.

https://code.sololearn.com/csZyT2NQzmRV/?ref=app

c++

4/17/2021 5:58:43 PM

Satyam Keshri

6 Answers

New Answer

+4

Got it!!! Thanks Rohit , Shadow .

+3

Your else case on line 33 has an opening brace, but no closing brace.

+2

put one more "}" before while (line number - 57)

+2

Your Passion It's do-while loop!

0

+ You have while loop without code block.

0

Satyam Keshri oh yeah, I didn't notice