Write a checked exception InsufficientFundsException whose message is Missing 50.00, where the number is the amount that is lacking.
Write a class Account with a private balance and a method
public void withdraw(double amount) throws InsufficientFundsException
which throws the exception when the balance is too small, and otherwise subtracts the amount.
Bank reads the initial balance and an amount to withdraw, then prints either
New balance: 50.00
or, when the withdrawal fails, the message of the caught exception:
Refused: Missing 50.00