Question: Show me the steps ( C + + ) to solve / / Given two integers ( onHand and consume ) that represent the amount
Show me the stepsC to solve Given two integers onHand and consume that represent the amount of
an on hand resourceonHand and the amount of the help that is
consumed per cycle think a time period Determine how
many cycles time periods are before the onhand amount is empty.
For example, if you have eggs onHand and use egg per dayconsume
determine when you expect to run out of eggs days Return the
number representing when the onhand amount reaches without
consuming more than is available.
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
