Computer Science, asked by anshikagupt, 8 months ago


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 seema2021
0

Answer:

ínfíñite lóop ís thepúblic stàtic vóid maín stríñg args

Answered by sanichandel1234
0

Answer:

you are the student of

Explanation:

Playway English School

Class 10th A

Similar questions