رد: CPCS 202: Project 1 ،، للنقاش والمساعدة !
السلام عليكم
ارجو المساعده .......
هاذا السؤال
Write an application that uses only the output statements
System.out.print( "* " );
System.out.print( " " );
System.out.println();
to display in the command window the checkerboard pattern that follows:
وتبغى هاذا الشكل :
* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
........
انا هاذا كودي بس مو راضي سوي الرن الاع سطر واحد
for(int i=0 ;i<10;i++ )
for (int p=5;p<i; p++)
System.out.print("*");
System.out.println("");
System.out.println();
|