Question: java V. Adding Hours (25 points) Write a method called addHours that returns a boolean. addHours takes an int parameter startHour, an int parameter endHour


java
V. Adding Hours (25 points) Write a method called addHours that returns a boolean. addHours takes an int parameter startHour, an int parameter endHour and an int pa- rameter day. Assume that the hours are in the 21 hour format. You should compute the total hours worked and set it to hours in the index day only if minStartHour startHour and endHour
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
