This CLI application is used to take user input as an integer and calculate the sum of all its digits.
-
Brief information of what application is used for.
-
Options on what
commands
the user can enter. -
If user enter
command
1
forcalculate
, user will be asked to enter aninteger
up10
digits long.- Once the
integer
is entered user will see the message : e.g.Result is: 11
for an integer of335
.
- Once the
-
If user enters invalid parameters - application will generate a message
Bad parameter. Please try again
and will redirect user to main menu. -
If user enters
command
2
forquit
, the application will shut down with a messageThank you for choosing our software
.
- Download and Install Maven
- Download the source code
- Open the source code in your IDE and run
Main
class which is located insrc/main/java/
- Once the application is running - interact with the program through the IDE console