lunes, 24 de noviembre de 2014

Estructura de control: Switch



Control: Switch

Código:

int variable;
variable=6;
switch (variable {

case1:
system.out.printl ("variable1")
break;
Case2:
System.out.println("Variable2")
break;


}

Diagrama:


0 comentarios :