Drawing Shapes Program
VerifiedAdded on 2019/09/23
|3
|256
|556
Practical Assignment
AI Summary
This practical assignment presents a program solution that allows users to draw different shapes: circles, Xs, and boxes, with options to include Xs within boxes. The program presents a menu to the user, prompting them to select a shape to draw. Based on the user's choice, the program requests a...

1. Draw Circle
2. Draw X
3. Draw Box
4. Draw Box with X
5. Exit
Please enter your choice ?3
Please enter Size of Box ?2
* *
* *
1. Draw Circle
2. Draw X
3. Draw Box
4. Draw Box with X
5. Exit
Please enter your choice ?1
Please enter radius of circle ?3
*******
** **
** **
* *
** **
** **
*******
1. Draw Circle
2. Draw X
2. Draw X
3. Draw Box
4. Draw Box with X
5. Exit
Please enter your choice ?3
Please enter Size of Box ?2
* *
* *
1. Draw Circle
2. Draw X
3. Draw Box
4. Draw Box with X
5. Exit
Please enter your choice ?1
Please enter radius of circle ?3
*******
** **
** **
* *
** **
** **
*******
1. Draw Circle
2. Draw X
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser

3. Draw Box
4. Draw Box with X
5. Exit
Please enter your choice ?2
Please enter Size of X ?3
* *
*
* *
1. Draw Circle
2. Draw X
3. Draw Box
4. Draw Box with X
5. Exit
Please enter your choice ?3
Please enter Size of Box ?3
* * *
* *
* * *
1. Draw Circle
2. Draw X
3. Draw Box
4. Draw Box with X
5. Exit
Please enter your choice ?4
Please enter Size of Box ?5
4. Draw Box with X
5. Exit
Please enter your choice ?2
Please enter Size of X ?3
* *
*
* *
1. Draw Circle
2. Draw X
3. Draw Box
4. Draw Box with X
5. Exit
Please enter your choice ?3
Please enter Size of Box ?3
* * *
* *
* * *
1. Draw Circle
2. Draw X
3. Draw Box
4. Draw Box with X
5. Exit
Please enter your choice ?4
Please enter Size of Box ?5

* * * * *
* * * *
* * *
* * * *
* * * * *
1. Draw Circle
2. Draw X
3. Draw Box
4. Draw Box with X
5. Exit
Please enter your choice ?5
BUILD SUCCESSFUL (total time: 46 seconds)
* * * *
* * *
* * * *
* * * * *
1. Draw Circle
2. Draw X
3. Draw Box
4. Draw Box with X
5. Exit
Please enter your choice ?5
BUILD SUCCESSFUL (total time: 46 seconds)
⊘ This is a preview!⊘
Do you want full access?
Subscribe today to unlock all pages.

Trusted by 1+ million students worldwide
1 out of 3
Related Documents

Your All-in-One AI-Powered Toolkit for Academic Success.
+13062052269
info@desklib.com
Available 24*7 on WhatsApp / Email
Unlock your academic potential
© 2024 | Zucol Services PVT LTD | All rights reserved.