Structure English and Decision Tree

profileSuperClass
 (Not rated)
 (Not rated)
Chat

Sample Structured English and Decision Tree

Sample Structured English and Decision Tree

DO WHILE there are travel expenses to be calculated

IF a local trip

Reimburse 18 cents per mile

END IF

IF one-day trip

Reimburse 18 cents per mile

IF departure time <= 7am and return time after 1Gam

. Reimburse breakfast

ENDIF

IF departure time <= 11am and return time after 2pm

Reimburse lunch

END IF

IF departure time <= Spm and return time after 7pm

Reimburse dinner

END IF

ENDIF

IF trip more than one day

Reimburse hotel, taxi, and airfare

Reimburse all meals on trip days other than departure and return day

IF departure time on departure day <= 7am

Reimburse breakfast, lunch and dinner on departure day

ELSE IF departure time on departure day <= 11am

Reimburse lunch and dinner on departure day

ELSE IF departure time on departure day <= Spm

Reimburse dinner on departure day

END IF *******

IF arrival time on return day after 7pm

Reimburse breakfast, lunch and dinner on return day

ELSE IF arrival time on return day after 2pm

Reimburse breakfast and lunch 'on return day

ELSE IF arrival time on return day after 1Gam

Reimburse breakfast on return day

END IF

END IF

ENDDO

Page 1 of2

Sample Structured English and Decision Tree

P~·1;;.5

Page2of2

R~:;;:i~;:c:

R..:.i'f'!'·,h1:-r,::~~,t

F01~B!~!i~~,t

P,::.,:-.:;.j1/':;'

Rei1!"~bt.:f;e:IT •.~ •.l

F1:<fL;;;,o:r.

    • 10 years ago
    Structure English and Decision Tree A+ Tutorial use as Guide
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      structure_english_and_decision_tree.doc