question about switch case

 

hey guys. what kind of operations we can use after "case:"

and how many?

do we allowed to declare variables after it?

do we can use "if" after it?

 
Birkimson Varzxorani:

hey guys. what kind of operations we can use after "case:"

and how many?

do we allowed to declare variables after it?

do we can use "if" after it?

you can use as much iterations as you want. in your case as much ifs 

 
Nikolay Georgiev:

you can use as much iterations as you want. in your case as much ifs 

thanks Nokolay, so my error is from anywhere else.