Page 1 of 1

Write a function named draw_ascii_box that will produce output such as the following: +---+ +---+ Ooooo0 X X X X 000000

Posted: Mon Jun 06, 2022 6:03 pm
by answerhappygod
Write A Function Named Draw Ascii Box That Will Produce Output Such As The Following Ooooo0 X X X X 000000 1
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 14 times
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: ===#