Computer Science, asked by nk9326966, 3 months ago

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 wansawaka
1

Answer:

the loop execute for 4times

Explanation:

good night

Similar questions