You've been given a box with a secret number lock. If you put the correct numbers in, the secret message will be revealed.
You'll need to write 7 conditional statements to help figure out the correct numbers.
- If input1 is equal to
8
, set the text of output1 toY
- If input2 is equal to or less than
5
, set the text of output2 toO
- else set the text of output2 to
A
- If input3 is equal to
6
, set the text of output3 toU
- else if input3 is greater than
5
, set the text of output3 toG
- else set the text of output3 to
N
- If input4 is greater that
3
and less than7
, set the text of output4 toO
- If input2 is less than
7
and input5 is less than4
, set the text of output5 toT
- If input3 is less than or equal to
6
or input6 is not equal to0
, set the text of output6 toR
- else set the text of output6 to
I
- If input4 is greater than
5
and input7 is less than or equal to5
, set the text of output7 toY
- else if input7 is greater than
8
and input4 is greater than4
, set the text of output7 toT
- else set the text of output7 to
E