|
|
@ -1,14 +1,21 @@ |
|
|
|
#ifndef TASCHENRECHNER_H |
|
|
|
#define TASCHENRECHNER_H |
|
|
|
|
|
|
|
//add function |
|
|
|
doulbe add(doulbe a, doulbe b); |
|
|
|
|
|
|
|
//minus function |
|
|
|
doulbe minus(doulbe a, doulbe b); |
|
|
|
|
|
|
|
//multiply function |
|
|
|
doulbe multiply(doulbe a, doulbe b); |
|
|
|
|
|
|
|
//divide function |
|
|
|
doulbe divide(doulbe a, doulbe b); |
|
|
|
|
|
|
|
//get input and check if its a number |
|
|
|
double testForNumber() |
|
|
|
|
|
|
|
// Square root function |
|
|
|
double squareRootFunction(double x); |
|
|
|
|
|
|
|