Holiday');
void sampleMethod()
{
for(int j = 0; j < 2; j++)
{
int number = (int)(Math.random() * 10);
System.out.println(number);
}
}
What is the range of possible values stored in the variable number?
Today i Holiday
Chapter 8. Decision Making and Iteration
2. I. Study the method and answer the given questions:
for(int i = 0; i < 3; i++)
(i) How many times does the loop execute ?
Answers
Answered by
1
Answer:
the loop execute for 4times
Explanation:
good night
Similar questions
English,
2 months ago
Science,
2 months ago
Physics,
2 months ago
Computer Science,
5 months ago
Math,
5 months ago
English,
10 months ago
Computer Science,
10 months ago