Design a sub-class of SimpleCalculator called Calculator using psudoecode that contains public methods

named multiply(), and divide() and that defines private fields called num1 and num2. Each of the methods
accepts two numeric arguments and returns a number that represents the result of the appropriate arethmetic
operation. Design a two-arg constructor Calculator() that sets the two values num1 and num2. Design a main()
method that prompts the user for two numbers and reads them in. Then creates an instance of the Calculator
class setting the input values via the Calculator constructor. The main() method then tries each of the four
arithmetic methods. Assume that an DivideByZero is created and thrown if the user attempts to divide by 0.
Display an appropriate message when an exception is caught. If no exception, display the results from each
arithmetic method call.

Here's the pseudocode for designing the sub-class called Calculator, which is derived from the SimpleCalculator class:

```
class Calculator extends SimpleCalculator:
private fields: num1, num2

constructor Calculator(num1, num2):
set num1 and num2

public method multiply(arg1, arg2):
return arg1 * arg2

public method divide(arg1, arg2):
if arg2 is 0:
throw DivideByZero exception
else:
return arg1 / arg2

public static void main():
prompt user for num1
read num1 from input
prompt user for num2
read num2 from input

create an instance of Calculator class using num1 and num2 as constructor arguments

try:
call multiply method passing num1 and num2 as arguments
display the result
call divide method passing num1 and num2 as arguments
display the result
catch DivideByZero exception:
display "Cannot divide by zero."
```

Please note that this is pseudocode, and you'll need to implement it in a programming language of your choice.