I will mark brainliest to those who give me the correct answer also i will follow him
Q1) Design a class to overload function compare
Void compare(int a ,int b,char ch) –
Print greatest of two numbers if value store in ch is ‘p’ otherwise print multiplication of
two numbers
Void compare (int n,char ch)
Print square of integer numbers if value store in ch is ‘s’ otherwise print cube of numbers
Void compare(String s1,String s2)
Print the largest string according to length of string
plz give the code
Answers
Answered by
1
Answer:
first mark it as brainliest
Answered by
2
Answer:
Okay 1st give me brainlist. .....
Similar questions
Math,
2 months ago
Social Sciences,
2 months ago
History,
5 months ago
Math,
10 months ago
Physics,
10 months ago