+ 1
What is the error in this program?
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)
+ 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.
+ 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
+ 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..