Computer Science, asked by chandranidatta2026, 7 months ago

WAP in VB that will display the numbers like 2,5,8,11,14,17​

Answers

Answered by shanuraj4137
0

Answer:

hope it's helpful to you

Explanation:

We know the Arithmetic Progression series is like = 2, 5, 8, 11, 14 …. …

In this series 2 is the stating term of the series .

Common difference = 5 – 2 = 3 (Difference common in the series).

so we can write the series as :

t1 = a1

t2 = a1 + (2-1) * d

t3 = a1 + (3-1) * d

Answered by bishnoisujal99
0

Answer:

public class question

{

   public static void main()

   {

       int i;

       for(i=0;i<=17;i++)

       {

           i=i+2;

          System.out.println(i);

         

       }

   }

}

*This is java language*

Similar questions