Decision tables: Difference between revisions

m
→‎{{header|REXX}}: added notations in the output section to indicated what are the user inputs.
m (→‎{{header|REXX}}: simplified some code.)
m (→‎{{header|REXX}}: added notations in the output section to indicated what are the user inputs.)
Line 1,815:
 
───────── (question 1 of 3) Does the printer not print?
no ◄■■■■■■■■ user input.
no
───────── (question 2 of 3) Is there a red light flashing on the printer?
No ◄■■■■■■■■ user input.
No
───────── (question 3 of 3) Is the printer unrecognized by the software?
n ◄■■■■■■■■ user input.
n
 
═════════ There are no solutions for the information supplied.
Line 1,825:
D:\►rexx decision
───────── (question 1 of 3) Does the printer not print?
n ◄■■■■■■■■ user input.
n
───────── (question 2 of 3) Is there a red light flashing on the printer?
n ◄■■■■■■■■ user input.
n
───────── (question 3 of 3) Is the printer unrecognized by the software?
yes ◄■■■■■■■■ user input.
yes
 
═════════ Ensure printer software is installed.
Line 1,835:
D:\►rexx decision
───────── (question 1 of 3) Does the printer not print?
n ◄■■■■■■■■ user input.
n
───────── (question 2 of 3) Is there a red light flashing on the printer?
Ye ◄■■■■■■■■ user input.
Ye
───────── (question 3 of 3) Is the printer unrecognized by the software?
n ◄■■■■■■■■ user input.
n
 
═════════ Check/replace ink.
Line 1,845:
D:\►rexx decision
───────── (question 1 of 3) Does the printer not print?
n ◄■■■■■■■■ user input.
n
───────── (question 2 of 3) Is there a red light flashing on the printer?
yes. ◄■■■■■■■■ user input.
yes.
───────── (question 3 of 3) Is the printer unrecognized by the software?
yes ◄■■■■■■■■ user input.
yes
 
═════════ Ensure printer software is installed.
Line 1,856:
D:\►rexx decision
───────── (question 1 of 3) Does the printer not print?
y ◄■■■■■■■■ user input.
y
───────── (question 2 of 3) Is there a red light flashing on the printer?
no ◄■■■■■■■■ user input.
no
───────── (question 3 of 3) Is the printer unrecognized by the software?
no ◄■■■■■■■■ user input.
no
 
═════════ Check for paper jam.
Line 1,866:
D:\►rexx decision
───────── (question 1 of 3) Does the printer not print?
y ◄■■■■■■■■ user input.
y
───────── (question 2 of 3) Is there a red light flashing on the printer?
n ◄■■■■■■■■ user input.
n
───────── (question 3 of 3) Is the printer unrecognized by the software?
y ◄■■■■■■■■ user input.
y
 
═════════ Check the power cable.
Line 1,878:
D:\►rexx decision
───────── (question 1 of 3) Does the printer not print?
y ◄■■■■■■■■ user input.
y
───────── (question 2 of 3) Is there a red light flashing on the printer?
y ◄■■■■■■■■ user input.
y
───────── (question 3 of 3) Is the printer unrecognized by the software?
n ◄■■■■■■■■ user input.
n
 
═════════ Check/replace ink.
Line 1,889:
D:\►rexx decision
───────── (question 1 of 3) Does the printer not print?
y ◄■■■■■■■■ user input.
y
───────── (question 2 of 3) Is there a red light flashing on the printer?
y ◄■■■■■■■■ user input.
y
───────── (question 3 of 3) Is the printer unrecognized by the software?
y ◄■■■■■■■■ user input.
y
 
═════════ check the printer-computer cable.