Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 682 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 682 Bytes

console-calc

Console application for calculating simple mathematical equations.

Usage

Calculates specified mathematical expression and prints its result
console-calc "(2 + 2 * 2) / (13 + 87)"

CLI mode, which allows to calculate multiple equations in a loop
console-calc

Prints help message
console-calc --help or console-calc -h

Supported operations

The application supports addition, subtraction, division and multiplication of real numbers. The algorithm respects the order of operations, which can be changed using parentheses.

Technologies used

This app has been written in pure C++14. Program can be easily compiled on Windows, Linux and MacOS.