how to print "square" using for loop
a triangle then a square :)
Loops are very important part of a C-language. If we have to run our programe multiple time then we use Loops of C.
system.out.println(" print 1-100 numbers");for(i=0;i
There several methods: For/Next loop Do/While/Until loops You can have Do Loops within Do Loops.
num%=9 CLS PRINT "The square of: "; num%; " = "; num%*num% END
Yes, it is possible to do that.
a triangle then a square :)
Loops are very important part of a C-language. If we have to run our programe multiple time then we use Loops of C.
To print a square photo, you can adjust the dimensions of the photo to make it a perfect square before printing. This can be done using photo editing software or by selecting the square photo option on your printer settings. Make sure to choose the appropriate paper size and quality for the best results.
To create a grid using two for loops in Python, you can use nested loops where the outer loop iterates over rows and the inner loop iterates over columns. For example: rows = 5 cols = 5 grid = [] for i in range(rows): row = [] for j in range(cols): row.append((i, j)) # You can customize what each cell contains grid.append(row) print(grid) This code will generate a 5x5 grid where each cell contains its coordinates (row, column).
Why are you posting a question to do with finger print identification in several computer programming wikies.
Each finger has a different print. Prints are not genetic. Not even twins have the same prints.
system.out.println(" print 1-100 numbers");for(i=0;i
ill help you
impossible sorry
There several methods: For/Next loop Do/While/Until loops You can have Do Loops within Do Loops.
1 CLS 2 PRINT "Please to tell me the length of the side of the square." 3 INPUT S 4 PRINT 5 PRINT "The perimeter of the square is "; 4 * S 6 PRINT 7 PRINT "The area of the square is "; S ^ 2 8 PRINT 9 PRINT "That was truly a total blast. Would you like to play again ? 'Y' or 'N' ." 10 INPUT A$ 11 IF A$ = "Y" or A$ = "y" then PRINT "Goody! " : GOTO 2 12 IF A$ = "N" or A$ = "n" then PRINT "Well OK then. Goodbye": END 13 PRINT: PRINT "Please to type a 'Y' to play again, or a 'N' to quit for now." 14 GOTO 10