Design a class to overload a function display() as follows :
i. void display(char c)
to print the pattern @@
@@ where c=’@’
2 / 2
ii. void display(int x)
to print the pattern 3 2 1
3 2
3 where x=3
iii. void display()
to print the pattern 2 4 6
2 4 6
Answers
Answered by
0
Answer:
You can find your Brainly profile link by clicking on your profile picture in the upper right corner. Once you click on your ...
Top answer ·
Similar questions