ill in the output that goes with a given input based on the two rules below.

If input is a two digit number:
input
Input Output Arrow
add 7
Input Output Arrow
output
If input is a one digit number:
input
Input Output Arrow
double the input
Input Output Arrow
output
Input Output
17
4
11
9

1 answer

Based on the rules provided, here's how the outputs are determined for the given inputs:

  1. For the two-digit numbers (add 7 to the input):

    • 17: 17 + 7 = 24
    • 11: 11 + 7 = 18
  2. For the one-digit numbers (double the input):

    • 4: 4 * 2 = 8
    • 9: 9 * 2 = 18

Putting it all together:

| Input | Output | |-------|--------| | 17 | 24 | | 4 | 8 | | 11 | 18 | | 9 | 18 |

Thus the final output should be:

  • For 17, the output is 24
  • For 4, the output is 8
  • For 11, the output is 18
  • For 9, the output is 18