for(i=10 ;i<=10 ; i-=2) System.out.println(i) ; Find the number of times the loop gets executed
Answers
Answered by
2
Answer:
it will be execute infinity time.
Explanation:
As u r decreasing the value from 2nd loop and it will always return a value which will be less than 10. Hence loop will continue infinity times .
Similar questions