57.2k views
3 votes
Using the same algorithm:

• Start with a number and add 2 to it.
• Double the result.
• Subtract 3 from that quantity.
If an input to this function is n = 3, what is the output?

1 Answer

1 vote

Answer:

7

Explanation:

step 1


n+2

step 2


2(n+2)\\\\=2n+4

step 4


2n+4-3\\\\=2n+1

if n=3


2(3)+1\\\\=6+1\\\\=7

output is 7

User John Kane
by
6.8k points