wap in java to print the following series (1×2)+(2×3)+..............(19×20)
shibangi86:
hiii
Answers
Answered by
26
The picture is the answer
Attachments:
Answered by
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