- 1
Error in the code
Where is the error in this code int age = 18; if ( !(age > 16) ) { Console.Write("Your age is less than 16"); } { else; Console .WriteLine("Welcome"); }
3 odpowiedzi
+ 5
U don't need an opening braces '{' before else stmt..Just put it after the else..
+ 5
Hamidofsky Wlcm
0
Thinks for your help