addTip method

int addTip(
  1. int tipAmount
)

Implementation

int addTip(int tipAmount) {
 return  _tip += tipAmount;
}