Question: What is the value of num when the while loop condition evaluates to false? int main() bool divisibleBy5 = false; int num = 5; int
What is the value of num when the while loop condition evaluates to false? int main() bool divisibleBy5 = false; int num = 5; int iterations = 0; while (ldivisibleBy5) ALE num += 1; iterations++; if (num % 5 == 0) divisibleBy5 = true; 3 cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
