Guest_imported
New member
- Jan 1, 1970
- 0
Your program must meet the following requirements:
The program must draw a box on the screen according to the user’s requirements. The box will be hollow and its sides, top and bottom are drawn using the same character. The user will be able to choose the position and size of the box, and the character used to draw the box.
The program must have a menu with the following options:
Char to input the character used to draw the box border
Co-ord to enter the box coordinates (left, top, right and bottom)
Draw to draw the box
Q to quit the program
When the program draws the box, it will not erase the interior of the box. When the user changes the position and size of the box, the program will not erase the previous box, except where the new box’s border or the menu overwrites the previous box’s border.
The program must be easy to use in all respects. The program logic should be straightforward and not unnecessarily complex. The source code should be tidy and have consistent indentation, a heading showing the programs title, purpose, date and author, and a brief comment on each loop and decision
thanx
The program must draw a box on the screen according to the user’s requirements. The box will be hollow and its sides, top and bottom are drawn using the same character. The user will be able to choose the position and size of the box, and the character used to draw the box.
The program must have a menu with the following options:
Char to input the character used to draw the box border
Co-ord to enter the box coordinates (left, top, right and bottom)
Draw to draw the box
Q to quit the program
When the program draws the box, it will not erase the interior of the box. When the user changes the position and size of the box, the program will not erase the previous box, except where the new box’s border or the menu overwrites the previous box’s border.
The program must be easy to use in all respects. The program logic should be straightforward and not unnecessarily complex. The source code should be tidy and have consistent indentation, a heading showing the programs title, purpose, date and author, and a brief comment on each loop and decision
thanx