+ 1
How in JAVA print a command line args in the output?
I have a program that works and shows the proper answer, but I need to show which arguments have been passed. Any help is much appreciated! Here is the code https://code.sololearn.com/ce2CSMOy0NEe
2 Respostas
+ 1
Also if you want to print out something like "arg0 + arg1 + arg2 + ... = sum" think of the next:
How to sort the input into the array?
Then you will be able to print the arguments.
If you are still struggling just say so and I'll help.
0
First of all, you need to set a Scanner.