What is the output of the following code: for (loop = 1; loop <3; + +loop) System. out. print (1); for (loop2 = 1; loop2<3; + +loop2) System. out. print (2);
+2
Answers (1)
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “What is the output of the following code: for (loop = 1; loop ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Home » Computers & Technology » What is the output of the following code: for (loop = 1; loop <3; + +loop) System. out. print (1); for (loop2 = 1; loop2<3; + +loop2) System. out. print (2);