Design a class to overload a function compare () as follows:
(i) void compare (int, int) : to compare two integer values and print the greater of two integers.
(ii) void compare (char, char) : to compare the numeric value of two characters and print with the
higher numeric value
(iii) void compare (string, string) : to compare the length of the two strings and print the longer of the
two.
Jldi Answer Doge to Brainlist karunga❤️
Answers
Answered by
1
Answer:
YOUR ANSWER IS HERE.............
Attachments:
Similar questions