Draw a decision table for the reimbursement policy in Problem below :

Clyde Clerk is reviewing his firm’s expense reimbursement policies with the new salesperson, Trav Farr. “Our reimbursement policies depend on the situation. You see, first we determine if it is a local trip. If it is, we only pay mileage of 45 cents a mile. If the trip was a one-day trip, we pay mileage and then check the times of departure and return. To be reimbursed for breakfast, you must leave by 7:00 A.M., lunch by 11:00 A.M., and have dinner by 5:00 P.M. To receive reimbursement for breakfast, you must return later than 10:00 A.M., lunch later than 2:00 P.M., and have dinner by 7:00 P.M. On a trip lasting more than one day, we allow hotel, taxi, and airfare, as well as meal allowances. The same times apply for meal expenses.” Write structured English for Clyde’s narrative of the reimbursement policies.

```
DO WHILE there are claims remaining.
IF a local trip
Pay 45 cents a mile
THEN IF a one-day trip
Pay mileage and check the times of departure and return
IF leave by 7:00 A.M. and return later than 10:00 A.M.
THEN receive reimbursement for breakfast
IF leave by 11:00 A.M. and return later than 2:00 P.M.
THEN receive reimbursement for lunch
IF leave by 5:00 P.M. and have dinner by 7:00 P.M.
THEN receive reimbursement for dinner
ELSE
We allow hotel, taxi, and airfare
ENDIF
ENDIF
ENDIF
Print summary for Trav Farr
ENDDO
```

Computer Science & Information Technology

You might also like to view...

In which mode does the computer remains on but the monitor and disk drives are inactive?

A) Standby B) Hover C) Shut down D) Restart

Computer Science & Information Technology

The ___________________ tile is used to insert explanatory notes into a method.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology