KnowledgeBoat Logo
|

Computer Applications

To execute a loop 10 times, which of the following statement satisfies:

  1. for(i=6;i<=26;i=i+2)
  2. for(i=3;i<=30;i=i+3)
  3. for(i=0;i<10;i=i++)
  4. all of the above

Java Iterative Stmts

67 Likes

Answer

for(i=3;i<=30;i=i+3)

Answered By

10 Likes


Related Questions