+ 1

What is the error in this program?

14th Feb 2023, 4:15 PM
KGS Sumanth
KGS Sumanth - avatar
4 odpowiedzi
+ 9
your questiom seems to be incomplete. the post should include: > the programming language (to be placed in tags) > a clear task description with input / output sample > a link that points to your code try > a description what exactly your issue is, (if possible including an error message)
14th Feb 2023, 4:20 PM
Lothar
Lothar - avatar
+ 3
Sumanth K the switch statement is outside of the main braces. Remove the closing brace at line 27, and add a closing brace at the end, after the switch statement.
15th Feb 2023, 7:01 AM
Brian
Brian - avatar
+ 2
Sumanth K please edit this thread take the code_bit out tags and put it in the area designated as description.. Thanks.. I believe you typed in the wrong url https://code.sololearn.com/cpBR9ZuH5pm7/?ref=app Lothar
14th Feb 2023, 4:20 PM
BroFar
BroFar - avatar
+ 2
Sumanth K review your curl brackets as the initial error appears to be associated with line 27 but I actually see other curl brackets that could cause additional errors..
14th Feb 2023, 4:35 PM
BroFar
BroFar - avatar