The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 364 Weeks Ago, 2 Days Ago |
| Questions Answered: | 1850 |
| Tutorials Posted: | 1850 |
Graduate in Biology and Nutrition, MBA Finance
Florida State University
Aug-2000 - Jul-2007
Ass. Relationship Manager
Penn-Florida
Mar-2009 - Feb-2016
/************************
* This is a flower box
* Name:
* Program name: MathOP.java
* Date: 23- 05-2016
* Purpose:This is perform addition and subtraction of two number
**************************/
public class MathOP {
private double num1;
private double num2;
Â
MathOP(double n1, double n2) {
this.num1 = n1;
this.num2 = n2;
}
Â
/**
* @return the num1
*/
public double getNum1() {
return num1;
}
Â
/**
* @param num1
* the num1 to set
*/
public void setNum1(double num1) {
this.num1 = num1;
}
Â
/**
* @return the num2
*/
public double getNum2() {
return num2;
}
Â
/**
* @param num2
* the num2 to set
*/
public void setNum2(double num2) {
this.num2 = num2;
}
Â
public double MathAdd() {
return num1 + num2;
}
Â
public double MathSub() {
return num1 - num2;
}
}
Â
i attached the file
Attachments:Hel-----------lo -----------Sir-----------/Ma-----------dam----------- Â----------- -----------Tha-----------nk -----------you----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------.Pl-----------eas-----------e p-----------ing----------- me----------- on----------- ch-----------at -----------I a-----------m Â----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I