Design a class called Pattern to overload a function Box() as follows: (I) void box[int x, char ch) - draws a filled square box of side x using the character stored
in ch. (ii) void box(int x, int y - draws a filled rectangular box of length x and breadth y using the symbol *.
() void box() - draws a filled box shown below. 11111
22222
33333
44444
55555
Answers
Answered by
1
Explanation:
in ch. (ii) void box(int x, int y - draws a filled rectangular box of length x and breadth y using the symbol *.
() void box() - draws a filled box shown below. 11111
22222
33333
44444
55555
Similar questions
Computer Science,
2 months ago
Math,
2 months ago
Math,
2 months ago
History,
4 months ago
Math,
10 months ago