Computer Science, asked by dikshajadhav51, 5 months ago

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 MohammedYousufuddin
1

Answer:

first mark it as brainliest

Answered by Anu10000
2

Answer:

Okay 1st give me brainlist. .....

Similar questions