Menu-Driven Shape Drawing Program: Circle, X, Box, and Box with X

Verified

Added on  2019/09/23

|3
|256
|556
Practical Assignment
AI Summary
The assignment content is an interactive drawing tool that allows the user to create different shapes, including circles, X's, boxes, and boxes with X's. The user can choose the shape they want to draw and then input specific details such as radius or size depending on the shape. The program continues to prompt the user for their choice until they decide to exit.

Contribute Materials

Your contribution can guide someone’s learning journey. Share your documents today.
Document Page
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

Secure Best Marks with AI Grader

Need help grading? Try our AI Grader for instant feedback on your assignments.
Document Page
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
Document Page
* * * * *
* * * *
* * *
* * * *
* * * * *
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 out of 3
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]

Your All-in-One AI-Powered Toolkit for Academic Success.

Available 24*7 on WhatsApp / Email

[object Object]