Write a program using for loops to produce an R by C rectangle, where R and

thomasdoejr

Write a program using for loops to produce an R by C rectangle, where R and C are provided by the user. The following are the triangles for different values of R and C. R is the number of rows and C is the number of columns

65 Views
About the Author
Rectangle 3 x 6
******
******
******
 
Rectangle 4 x 5
*****
*****
*****
*****
rproffitt 1,912 "Nothing to see here." Moderator

Try again with a fresh discussion as there doesn't appear to be any "Reusable Code Snippet" here.

Also, read https://www.daniweb.com/welcome/rules about assignments. You must show effort.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.