This question is similar to the previous question, but in this task you should calculate the product of three numbers.
Write a program that takes three integers as command line inputs, and calculates their product. You should print out the equation you are evaluating, as well as the final output.
For example, with the arguments displayed below, the program should produce the following outputs:
: javac Multiplier.java : java Multiplier 2 3 2 2 * 3 * 2 = 12 : java Multiplier 4 2 3 4 * 2 * 3 = 24
Warning
As part of this exercise, you should ensure that the output of your program produces exactly the same in-line spacing in the equation as in the examples above.
Note
As before, try your code using the command line and a text editor and an IntelliJ project.
An automated test has been created for this exercise: MultiplierTest.java.
Add it to your IntelliJ project by following the steps explained in the Introduction to Development Tools.