Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

# StringCalculator

A Java-based String Calculator built with Maven as part of the DEPI Software Testing Track assignment.

## Description

This project implements a simple calculator that accepts a mathematical expression as a single String, identifies the arithmetic operator, extracts the operands, performs the calculation, and displays the result.

## Requirements

The calculator is designed to:

- Read a mathematical expression from the user as a String

- Detect the arithmetic operator

- Extract the two operands

- Convert the operands from String to numeric values

- Perform the requested arithmetic operation

- Display the result

## Supported Operations

| Operator | Operation |

|---|---|

| + | Addition |

| - | Subtraction |

| \* | Multiplication |

| / | Division |

## Example

**Input:**


Enter equation: 18+9

**Output:**


Result = 27

## Technologies

- Java

- Maven

## Assignment

DEPI – Software Testing Track

Part 01: Java Fundamentals

**Assignment:** String-Based Calculator Using Java and Maven

About

Java-based String Calculator built with Maven for practicing input parsing and arithmetic operations.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages