Computer Science, asked by BIGBULL565, 21 days ago

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 XxANKUxX
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 taesugk
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