0
Can anyone look at my code and tell me what i did wrong?
5 Réponses
0
You didn't declare the commands variable, you didn't put : // after each case # (for example the first case would be case 1: //(hello in french)) so you meet the correct syntax and comment your... ummm... comments. You also forgot to put a ; after the last cout, the breaks after each case, and you switched the positions of a " and a ( (I don't remember which ones).
EDIT: the last error I was talking about is in the line 9.
0
maybe I should learn the thing first before writing down code
0
great it's still broken
https://code.sololearn.com/cfzUTPYOeIhd/?ref=app
0
You just put the : in wrong places (you didn't correct the other things). So, reread my previous post, try to correct the errors and if you still can't make it to work I'll write an example :)
0
https://code.sololearn.com/cfzUTPYOeIhd/?ref=app I think I made it worse