Skip to content

alecsandrapetruescu/calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Calculator

Command line application with Spring Boot

Build Docker Image Build CodeQL Dependency Review

Requirements

Application uses

How to use?

# Build the jar.
> mvn clean compile package
> cd target

# Execute the jar with arguments:
# java -jar calculator-0.0.1-SNAPSHOT.jar firstNumber operation secondNumber
# Supported operation: +, -, *, /.

> java -jar calculator-0.0.1-SNAPSHOT.jar 1 + 1

> java -jar calculator-0.0.1-SNAPSHOT.jar 1 - 1

> java -jar calculator-0.0.1-SNAPSHOT.jar 1 * 2

> java -jar calculator-0.0.1-SNAPSHOT.jar 1 / 2

How to update?

# Update Maven wrapper
> mvn wrapper:wrapper -Dmaven=3.8.5

Releases

No releases published

Packages

No packages published

Languages