n=10;
while(n<=10)
{
n=n*10;
}
System.out.println(n);
How many times the loop is executed and what is the output?
a) Loop is executed 2 times and the output is 100
b) Loop is executed 3 times and the output is 10
c) Loop is executed 1 time and the output is 100
please give the correct ans nd fast please!!!!!
Answers
Answered by
2
Answer:
2
Explanation:
please mark me brainliest
Attachments:
Answered by
0
Explanation:
Option C is the answer to your question
Similar questions