- 2

Please help any one send me the code the question is in description

One of the main purposes of loops in programming is to print out (display) various patterns. In this assignment you are required to write a program which displays the following patterns based on user choice. For this you need to have a menu of options which might look like this: Press 1 to display hollow diamond of stars Press 2 to display An ‘X’ of stars Press 3 to display a solid diamond of stars

30th May 2022, 5:53 PM
Dagmawi Demesse
1 Answer
+ 1
No. But you can attempt to solve it yourself then we can help aid you to determine where you made the mistake.
30th May 2022, 7:45 PM
Chris Coder
Chris Coder - avatar