me gustaria que me ayudaseis a poder resolver este codigo, ya que no me hace las lineas horizontalesy el bucle que me hace es infinito, espero que me podais ayudar.
package escalera;
public class Main
{
final static int LONGITUD=30;
final static char CARACTER='*';
final static int ANCHOESC=5;
final static int ALTOESC=3;
final static int NUMESC=7;
public static void main
(String[] args
) {
int i,j,k,z;
int desp=0;
for(k=1;k<=NUMESC;k++)
{
for(z=0;z<desp*(ANCHOESC-1);z++)
{
}
for(i=0;i<ANCHOESC;i++)
{
for(i=0;i<ALTOESC;i++)
{
for(j=0;j<(desp+1)*(ANCHOESC-1);j++)
{
}
System.
out.
print(CARACTER
+"\n"); }
desp++;
}
}
}
}