Two things:
1. Main function doesn't have a return type, but returns 0. Change return type to int.
2. It looks like the while loop is an infinite loop I.e, the loop doesn't stop. You probably want to check for some condition and break out of the loop.
User Profile
Collapse
-
I don't think people would honor a request like that. Providing more specific questions might be beneficial.Leave a comment:
-
The error itself says that you are using arithmetic operators without an expression. If you were intention was to select a case based on the type of the operator, try putting them inside single quotes (treats it as a character). Although, I don't know what good that would do, since the last character in your list will win.Leave a comment:
-
The other error you see is basically saying that the return type of main has to be anCode:int
Leave a comment:
No activity results to display
Show More
Leave a comment: