write a program that prints the following diamond shape. Youmay use output state
ID: 3617106 • Letter: W
Question
write a program that prints the following diamond shape. Youmay use output statements that print either a single asterisk (*)or a single blank. Maximize your use of repetition (with nested forstatements) and minimize the number of output statements. * **** ************
********* ******* ***** *** * write a program that prints the following diamond shape. Youmay use output statements that print either a single asterisk (*)or a single blank. Maximize your use of repetition (with nested forstatements) and minimize the number of output statements. * **** *****
*******
********* ******* ***** *** *