I am writing the most simple calculator in java that picks up command line arguments.Everything works fine, except the multiplication function. For some reason it picks up n
Enclose the entire calculation string in quotes, and split it yourself:
java Calculate "2 * 3"
That only uses a * for multiplication.