What is the output of the following code fragment? int i = 1; int sum = 0; while (i < = 15) { sum = sum + i; i++; } System. out. println ("The value of sum is " + sum);
+2
Answers (1)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “What is the output of the following code fragment? int i = 1; int sum = 0; while (i < = 15) { sum = sum + i; i++; } System. out. println ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Home » Computers and Technology » What is the output of the following code fragment? int i = 1; int sum = 0; while (i < = 15) { sum = sum + i; i++; } System. out. println ("The value of sum is " + sum);