Initial commit
This commit is contained in:
commit
a52d26a18e
24 changed files with 1091 additions and 0 deletions
23
src/test/res/ejemplos/Test_7.java
Normal file
23
src/test/res/ejemplos/Test_7.java
Normal file
|
@ -0,0 +1,23 @@
|
|||
package ejemplos;
|
||||
|
||||
|
||||
public class Test_7 {
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
int x=1;
|
||||
|
||||
if (x==1)
|
||||
{
|
||||
x=2;
|
||||
}
|
||||
else x=3;
|
||||
x=4;
|
||||
if (x==2)
|
||||
{
|
||||
x=5;
|
||||
}
|
||||
else if (x==3) x=6;
|
||||
x=7;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue