n=1000; while (n>10) {n=n/10; } System.out.println(n); How many time the loop is executed and what is the output?
Answers
Answered by
1
(e) n=1000;
System.out.println(n); How many time the loop is executed and what is the output? 3. Loop is executed 2 times and the output is 10
Topic: Semester-1 ICSE Specimen Paper Solved
Answered by
0
(e) n=1000;
(e) n=1000;System.out.println(n); How many time the loop is executed and what is the output? 3. Loop is executed 2 times and the output is 10.
Similar questions
English,
10 days ago
Biology,
10 days ago
Math,
10 days ago
Computer Science,
21 days ago
World Languages,
9 months ago
Math,
9 months ago