- Write A Function Named Draw Ascii Box That Will Produce Output Such As The Following Ooooo0 X X X X 000000 1 (105.99 KiB) Viewed 13 times
Write a function named draw_ascii_box that will produce output such as the following: +---+ +---+ Ooooo0 X X X X 000000
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Write a function named draw_ascii_box that will produce output such as the following: +---+ +---+ Ooooo0 X X X X 000000
Write a function named draw_ascii_box that will produce output such as the following: +---+ +---+ Ooooo0 X X X X 000000 H H H H H H #============# The draw_ascii_box function must take 5 parameters: the character to use for the horizontal sides; the character to use for the vertical sides; the character to use for the corners; the width of the box in characters; and the height. Define at least two helper functions to structure your algorithm. In the main function, make calls to the draw_ascii_box function to help you test your design and implementation. Ensure your implementation is robust. Or: Or: ===#