Question: The program should be written in java Problem 3 - Shine Bright Like a Diamond Write a program that uses nested for loops to draw

The program should be written in java  The program should be written in java Problem 3 - Shine

Problem 3 - Shine Bright Like a Diamond Write a program that uses nested for loops to draw a diamond pattern using spaces and asterisk () characters as shown in the screen captures below. Ask the user to input the number of rows in the pattern. You can assume the input value is an even number in the range 4 through 50 (so the diamond looks nice). Notice that your program can only print one space or one star at a time. nany rows (even number 4-58)7 24 9990 How many rows (even number 4-50)? 9992 Oss 994 Submitting your assignment: Once again, submit a single zip file containing the BlueJ project folders for all 3 problems using the link provided on our Moodle page. Name your zip file using the format as4 YourName.zip (using your own name)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!