+ 4
Error??
which error this code have?? int age=22; switch(age) { case 16: Console.Write("y"); break; default: Console.Write("o"); }
10 Respuestas
+ 11
Wow tashi was right:D I thought everyone knows about imgur.
www.Imgur.com is a website where you can upload pictures without the need of an account.
+ 36
wow that was fast @tim
+ 33
As far as I know, switch statement of C# (unlike C, Java or C++) requires break after each case. Put a break after default case, it'll work.
+ 12
@Shamima is right!
+ 10
Console.Write("y") isn't followed by a semicolon
+ 10
make a screenshot and upload it on imgur
+ 3
now this is question in challenge and challenge shows error is correct answer...
+ 3
imgur????
+ 2
sry guise this is my typing mistake
+ 1
yes thanks friends