public class BasicMathValidatorCBrew extends Object
Constructor and Description |
---|
BasicMathValidatorCBrew() |
Modifier and Type | Method and Description |
---|---|
int |
addCBrew(int num1,
int num2)
Adds the integers together and returns the result.
|
int |
addNative(int num1,
int num2) |
int |
multiplyCBrew(int num1,
int num2)
Multiplies the integers together and returns the result.
|
int |
multNative(int num1,
int num2) |
int |
subNative(int num1,
int num2) |
int |
subtractCBrew(int num1,
int num2)
Subtracts the integers together and returns the result.
|
public int addNative(int num1, int num2)
public int subNative(int num1, int num2)
public int multNative(int num1, int num2)
public int addCBrew(int num1, int num2)
num1
- - the first integer to be summednum2
- - the second integer to be summedpublic int subtractCBrew(int num1, int num2)
num1
- - the first integer to be subtractednum2
- - the second integer to be subtractpublic int multiplyCBrew(int num1, int num2)
num1
- - the first integer to be multipliednum2
- - the second integer to be multipliedCopyright © 2020. All rights reserved.