What is the value of balance after the following code isexecuted?
int balance=10;
while (balance>=1) {
if (balance<9) break;
balance=balance - 9;
}
A. - 1
B. 0
C. 1
D. 2
+3
Answers (1)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “What is the value of balance after the following code isexecuted? int balance=10; while (balance>=1) { if (balance ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Home » Computers & Technology » What is the value of balance after the following code isexecuted? int balance=10; while (balance>=1) { if (balance<9) break; balance=balance - 9; } A. - 1 B. 0 C. 1 D. 2