My Project
 All Classes Files Functions
Calculations.cpp
Go to the documentation of this file.
1 #include "Calculations.h"
5 
10 float Calculations::Division(float a, float b)
11 {
12  return (a / b);
13 }
14 
19 float Calculations::Multiplication(float a, float b)
20 {
21  return (a * b);
22 }
23 
28 float Calculations::Addition(float a, float b)
29 {
30  return (a + b);
31 }
32 
37 float Calculations::Subtraction(float a, float b)
38 {
39  return (a - b);
40 }
float Division(float a, float b)
Header file containing the class declaration for the Calculations class.
float Addition(float a, float b)
float Multiplication(float a, float b)
float Subtraction(float a, float b)