Question: Please do it in Java. Please print the following pattern: 1. print 1x30 rectangle of & 2. print a vertical line of &; then one
Please do it in Java.


Please print the following pattern:
1. print 1x30 rectangle of &
2. print a vertical line of &; then one diamond; then 2 checkerboards; then one diamond; then a vertical line of &.
3. print a vertical line of &; then 1 square; then 1 square of empty space; then 1 square; then 1 square of empty space; then a vertical line of &.
4. print a vertical line of &; then 1 square of space; then 2 diamonds; then one square of space; then a vertical line of &.
5. print a vertical line of & then one diamond; then 2 checkerboards; then one diamond; then a vertical line of &.
6. print 1x30 rectangle of &.
Weaving a Kilim Carpet Application using loops and nested loops: Save as part1.java Kilims are woven carpets which generally use symmetrical designs. For this assignment, instead of using a loom, wool, and a shuttle, we are asking you to produce a pattern of your own design using loops and nested loops. Write a program to weave your own Kilim carpet with 30 rows by 30 columns. The patterns should be designed by you (it should be different than the design of carpet below). Your carpet though MUST include at least one diamond shape, checkerboards, and squares (See example below for these patterns). Also, use other characters such as $ or % or + or @ rather than a * to weave the rug. Make sure not to copy the entire pattern from the below rug or copy patterns from another student! Show your creativity by weaving a different design while meeting the requirements mentioned above. You will get extra credit for excellent design and added features. Here is a 12th Century Moroccan Kilim Carpet sample pattern made of 25 rows and 36 columns: (This design is made up of stars (asterisks) and spaces, please ignore the border, color, and the shading effect): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Here are the requirements: Every print statement should print no more than one character of one '%' or one space', Do not use statements such as: print("**** *******") but rather use loops for every repetition. Use loops and nested loops to produce these patterns. You can't use control structure such as switch or if/else if/else in your program. Your have to design your own carpet (different than the carpet from above). Your carpet MUST include at least one diamond shape, checkerboards, and squares. (see example from above for these patterns). Some of the patterns are repeated; you might want to first isolate the elements in the design (eg. the first two rows, the "checkerboard" elements, the triangle) and then combine them to form the "rug
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
