How do i make this code in java. Ive been spending days trying figure out how it will work


#1

Use iteration to build a grid of arbitrary size. Create a format string that contains a single format specifier. Create a string variable containing an arbitrary number of dashes. Use iteration, the printf() function, and your creativity to generate the following grid. Design your logic so that it can generate a grid containing an arbitrary number of columns and rows. Use a single variable to control the number of columns and another variable to control the number of rows.


#2

What have you written so far? Please show us your working code. Thanks.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.