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 rei

What will be an ideal response?


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...

Answer the following statements true (T) or false (F)

1. In C++ global and local numeric variables are initialized to zero by default. 2. You may use the exit() function to return the flow of control from a function back to main() regardless of where the function was called from. 3. Object-oriented programming is centered around objects that include both data and the functions that operate on them. 4. ADT stands for Algorithmic Data Type. 5. A class declaration provides a pattern for creating objects, but doesn’t make any objects.

Computer Science & Information Technology

To get multimedia content to load faster, you should delete your ________ Internet cache periodically

Fill in the blank(s) with correct word

Computer Science & Information Technology

The Bullets button is located in the:

A) Paragraph group on the HOME tab. B) Paragraph group on the DESIGN tab. C) Editing group on the HOME tab. D) Editing group on the DESIGN tab.

Computer Science & Information Technology

What is used to declare your own event in C#?

A. handlers B. trigger objects C. delegates D. raisers

Computer Science & Information Technology