Lab assignment: Asterisk Printing

Write a program in Java to accept an input from the user then draw Asterisk shapes based on the user input. The asterisk shapes is described for each Point
Use this starter code to begin your assignment, The starter code accepts an input and draw the following shapes as follows: Click Here for Solution

 

Please enter Odd number of asterisk to print:

9

 

Option 1

**********

 

Option 2

 

*

**

***

****

*****

******

*******

********

*********

For 1 point:
You add Code to draw the following shape:

 

*

**

***

****

*****

******

*******

********

*********

********

*******

******

*****

****

***

**

*

 

For 1 point
You add Code to draw the following shape:

 

Untitled-3

For 1 point:
You add Code to draw the following shape:

Untitled-2

 

 

Work on this assignment in pairs, put your name and UIN in your program, submit your program to Blackboard->Assignment-> Lab 4