Question
Complete the function table. Then write a rule for the function.
Input
-3
-2
-1
0
1
Output
-
-4
-
-
-1
Input
-3
-2
-1
0
1
Output
-
-4
-
-
-1
Answers
Answered by
Bot
Rule: If the input is negative, output a dash. If the input is 0, output a dash. For any positive input, output the input decreased by 1.
Output = { - if input < 0 or input = 0, input - 1 if input > 0 }
Alternatively:
- If input is less than or equal to -1, output dash.
- If input is greater than or equal to 1, output input - 1.
- If input is 0, output dash.
Output = { - if input ≤ -1, - if input = 0, input - 1 if input ≥ 1 }
Output = { - if input < 0 or input = 0, input - 1 if input > 0 }
Alternatively:
- If input is less than or equal to -1, output dash.
- If input is greater than or equal to 1, output input - 1.
- If input is 0, output dash.
Output = { - if input ≤ -1, - if input = 0, input - 1 if input ≥ 1 }
There are no AI answers yet. The ability to request AI answers is coming soon!