Computer Science, asked by shibangi86, 1 year ago

wap in java to print the following series (1×2)+(2×3)+..............(19×20)


shibangi86: hiii
shibangi86: fine
shibangi86: 10
shibangi86: n u??

Answers

Answered by emondal83
26

The picture is the answer

Attachments:

shibangi86: Thanks mate
shibangi86: helped a lot
emondal83: My pleasure
Answered by suchindraraut17
7

Number Series

Explanation:

Code:

public class SeriesNumber {

   public static void main(String args[]) {

       String[] value;

     for(int i=1;i<20;i++)

     {

         String strResult = "("+i+"*"+(i+1)+")+";

         System.out.print(strResult);

         //Series for after calculation

         //System.out.print((i*(i+1))+"+");

     }

   }

}

Similar questions