class OperateDemo1
{
public static void main(String [] args)
{
/*
for(初始化表达式;循环条件表达式;循环后的操作表达式)
{
执行语句;
}
*/
public static void draw( int row,int col)
{
for(int x=0;x<row;++x)
{
for(int y=z;y<col;y++)
{
System.out.print("*");
}
System.out.println();//只有一个功能就是换行。
}
}
}
qq_大人不打脸_0
一条小咸鱼
相关分类