Solved

How Many Times Does the Following Loop Execute? for (Double

Question 74

Multiple Choice

How many times does the following loop execute? for (double d = 1; d != 10; d++)
{
D = d / 3;
System.out.print(d + " ") ;
}


A) 10
B) 9
C) 8
D) An infinite number of times

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions