Added test

This commit is contained in:
Carlos Galindo 2019-04-09 20:07:33 +02:00
parent daa1c2d90a
commit 5ca4da62dc

View file

@ -0,0 +1,39 @@
package ejemplos;
public class Bucles_Josep {
public static void main(String[] args) {
int x=0;
int y=0, z=0;
z=x+y;
if (z>0)
{
for(int a=1;a==1;)
{
a++;
if (a == 2)
break;
a++;
}
}
while(z==0)
{
if (z==0)
{
z++;
}
else
{
z--;
}
}
}
}