22 lines
198 B
Java
22 lines
198 B
Java
package ejemplos;
|
|
|
|
public class Test_8 {
|
|
|
|
public static void main(String[] args)
|
|
{
|
|
int x=1;
|
|
|
|
if (x==1)
|
|
{
|
|
x=2;
|
|
}
|
|
x=5;
|
|
x=6;
|
|
if (x==2)
|
|
{
|
|
x=7;
|
|
}
|
|
if (x==3) x=8;
|
|
x=9;
|
|
}
|
|
}
|