Name: ____________________________________________________ Alpha: _____________________
Describe help received: _________________________________________________________________
Note that this program runs by default in a "quiet" mode, where only the result gets printed, but with the
-v
option it runs in a "verbose" mode in
which instructions and an explanation of the output get
printed. Here are some runs of the program:
~/$ java HW14 -v Enter x, k, m: 2 3 5 2^3 % 5 = 3 |
~/$ java HW14 2 3 5 3 |
Error in HW14! invalid input.
handleError("k < 0 in modexp!")
.]