Computer Science, asked by vss30, 2 days ago

in java Design a class to overload a function num_calc() as follows.
void num_calc (int num, char ch) which computes the square of integer argument if
choice ch is 's' otherwise finds its cube,

void num_calc (int a, int b, char ch): which computes the product of the integer
arguments, if choice ch is 'p' else adds the integers.

void num_calc (int a) : which calculates and prints number of digits present in the input number​

Answers

Answered by Anonymous
2

Answer:

sorry bro I am very weak in java

Similar questions