Answer:
Final answers are ,
• 9
•-7
• 7
• -85
Step-by-step explanation:
Given that when we input a number then first it will be multiplied by 2 and finally decreased by(-1) .
<u>Input 5 :-</u>
• Firstly Multiplying it by 2 → 2× 5 = 10
• Subtracting 1 from it → 10 - 1 = 9
Output = 9
====================================
<u>Input (-3) :-</u>
• Firstly Multiplying it by 2 → 2× -3 = -6
• Subtracting 1 from it → -6- 1 = (-7)
Output = (-7)
====================================
<u>Input </u><u>4</u><u> :-</u>
• Firstly Multiplying it by 2 → 2× 4 = 8
• Subtracting 1 from it → 8 - 1 = 7
Output = 7
====================================
<u>Input (-42) :-</u>
• Firstly Multiplying it by 2 → 2× -42 = -84
• Subtracting 1 from it → -84 - 1 = -85
Output = (-85)
====================================