Question: Rewrite Lab 3 . 2 so introducing the following methods: int calcVacation ( int years ) accepts the number of years worked, and returns the
Rewrite Lab so introducing the following methods:
int calcVacationint years accepts the number of years worked, and returns the number of weeks of vacation
int calcVacationint years, int salary accepts the number of years worked, and the salary, and returns the amount of the bonus
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
