Question: Write a program to display the pattern of a glass of wine according to the size input by user. The size is an odd integer

Write a program to display the pattern of a glass of wine according to the size input by user. The size is an odd integer at least 5. Sample display: 1 Sample display 2 Sample display 3 Sample display 4 5 7 9 15 | | | | | | | | | | | | | | | | |*****| | | | | | | \\'k'kt't/ I*******I I I I I ___ \\'lr-k'k'k'k/ I*********I I I I \\***/ \\inlnkiralrirsk/ I I I _-_ \\*****/ I I I I \\***/ I***************I ___ I ___ \\**********ww*/ I \\***********/ I \\w********/ I \\*******/ I \\*****/ | \\***/ l l l 1 | | l l
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
