Design a class to overload a function num_calc() as follows:
*
* void num_calc(int num, char ch) with one integer argument and one char
* argument, computes the square of integer argument if choice ch is 's'
* otherwise find its cube.
*
* void num_calc(int a, int b, char ch) with two integer arguments and
* character argument. It computes the product of integer arguments if ch
* is 'p' else adds the integers.
*
* void num_calc(String s1, String s2) with two string arguments, which
* prints whether the strings are equal or not
*
*/
questions 2
void reverse( char ch) it convert a character in opposite case
void reverse ( int num) to reverse the number
void reverse ( String str) to reverse the string