Computer Science, asked by roshan887, 16 days ago

Write a program to print numbers between 0 to 20 with a gap of 3 i.e, 0,3,6....​

Answers

Answered by ry6635440
3

public class numbers

{

   public static void main(String args[])

   {

       int i;

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

           System.out.println(i);

   }

}

Similar questions