Skip to content

Commit 17f9367

Browse files
author
Quincy
authored
Create calculator.h
1 parent 573d627 commit 17f9367

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

3.0/calculator.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#include <string>
2+
#pragma once
3+
4+
class calculate
5+
{
6+
public:
7+
std::string add(double numA, double numB);
8+
std::string subtract(double numA, double numB);
9+
std::string multiply(double numA, double numB);
10+
std::string divide(double numA, double numB);
11+
std::string power(double numA, double numB);
12+
std::string square(double numA, double numB);
13+
};

0 commit comments

Comments
 (0)