Question: e . Given a number, perform the following steps in order: Multiply it by 4 Add 4 Divide by 2 Subtract 2 Divide by 2
Given a number, perform the following steps in order:
Multiply it by
Add
Divide by
Subtract
Divide by
Subtract
At this point, add to a counter to keep track of the fact that you
performed steps through Then test the result you got when
you subtracted If write down the number of times you
performed steps through and stop. If not starting with the
result of subtracting one, perform the seven steps again.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
