Commit Graph

3 Commits

Author SHA1 Message Date
Sergii Piatakov 976f6913db add a subtraction operation
Add member-function which performs a subtraction in terms of
an addition.

Signed-off-by: Sergii Piatakov <sergii.piatakov@globallogic.com>
2018-11-15 15:17:29 +02:00
Sergii Piatakov f03784b6c1 add header guard
The current implementation does not contain guard and it works well,
but it may lead to problems in the future.

Signed-off-by: Sergii Piatakov <sergii.piatakov@globallogic.com>
2018-11-15 15:11:37 +02:00
Sergii Piatakov 997217087b basic implementation
Introduce the `Calculator` class with single member-function which
performs an addition.

Signed-off-by: Sergii Piatakov <sergii.piatakov@globallogic.com>
2018-11-15 15:07:05 +02:00