Computer Science, asked by samrata824, 4 months ago

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 Itzabhi001
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