Add member-function which performs a subtraction in terms of an addition. Signed-off-by: Sergii Piatakov <sergii.piatakov@globallogic.com>
12 lines
155 B
C++
12 lines
155 B
C++
#ifndef CALCULATOR_H
|
|
#define CALCULATOR_H
|
|
|
|
class Calculator
|
|
{
|
|
public:
|
|
int Add (int, int);
|
|
int Sub (int, int);
|
|
};
|
|
|
|
#endif//CALCULATOR_H
|