what is the output after the following loop terminates? A int number = 25 int i; B. boolean isprime = true; C. for (i=2; i< number && isprime; i++) { if (number % i = = 0) { isprime = false; }} D. system. out. println ("i is " + i + " isprime is" + isprime);
+4
Answers (1)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “what is the output after the following loop terminates? A int number = 25 int i; B. boolean isprime = true; C. for (i=2; i< number && ...” 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 output after the following loop terminates? A int number = 25 int i; B. boolean isprime = true; C. for (i=2; i< number && isprime; i++) { if (number % i = = 0) { isprime = false; }} D. system. out.