answersLogoWhite

0

how to print "square" using for loop

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

To print the multiples of a given number using loops in c?

Yes, it is possible to do that.


Write a program in qbasic to make a hut using print statemant?

a triangle then a square :)


C programs using loops?

Loops are very important part of a C-language. If we have to run our programe multiple time then we use Loops of C.


How can I print a square photo?

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.


How to make a grid using two for loops in python?

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).


What is the difference between radial and ulnar loops?

Why are you posting a question to do with finger print identification in several computer programming wikies.


There is a Finger print that is completeley different to all your others this one is a whorl but the others are loops can anyone explain this?

Each finger has a different print. Prints are not genetic. Not even twins have the same prints.


Sample code of loops and repetitions?

system.out.println(" print 1-100 numbers");for(i=0;i


How to remove duplicate letters using for loops in java?

ill help you


How do you print without using Print Preview?

impossible sorry


How do you do a nested loop using Qbasic?

There several methods: For/Next loop Do/While/Until loops You can have Do Loops within Do Loops.


How do you write a program to input the side of a square and print its area and perimeter?

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