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

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

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 Programming Questions!