How many times does the while loop executed if the following function is called as f(140,15)
Answers
Answered by
1
Answer:
please follow me
Explanation:
Because there is change happening in the value contained in variable 'm' inside the loop. The value is depreciated by value 15 (contained in the variable 'n'). Thus, each time the loop executes, the condition is checked by taking the value stored in the 'm' and 'n' variable.
Similar questions