7. How many times will the following loop execute?
public static void main(String args[])
int sum = 0;
for (int i = 10; i > 5; i++)
{
sum += i;
}
System.out.println(sum);
}
A. 5
C. 1
B. o
D. Infinite loop
Answers
Answered by
0
Answer:
ínfíñite lóop ís thepúblic stàtic vóid maín stríñg args
Answered by
0
Answer:
you are the student of
Explanation:
Playway English School
Class 10th A
Similar questions