Programación I
Find a file
khalidbelk a5c177d8c4 fix: display wrong arguments message on error only
When using the --help flag, we don't want to display the 'wrong arguments' sentence. This fixes that.
2024-09-15 20:24:20 +02:00
.gitignore feat: initial commit 2024-09-13 13:55:53 +02:00
Main.java fix: display wrong arguments message on error only 2024-09-15 20:24:20 +02:00
README.md feat: add Readme 2024-09-13 13:57:08 +02:00

Delivery - Actividad 1

First compile the program with the command :

javac Main.java

Usage

Then run the program like this:

java Main calculos 10 20

java Main triangulo 9 10 18

Help

To display the help / usage message execute the command:

java Main --help