This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
publicclassJb13_ForTest
{
publicstaticvoidmain(String[]args)
{
/*打印矩形,不成文规律:外循环控制行,内循环控制列
for (int x=1;x<=4; x++)
{
for (int y=1;y<=4 ;y++ )
{
System.out.print("*");
}
System.out.println("*");
}
*/
/*打印倒三角
//int z = 5;
for (int x=1;x<=5; x++) //1-5 1-4 1-3 //1-5 2-5 3-5