Write a program to display the following series upto 10 terms:
4,8,13...............................................
Answers
Answered by
2
import java.util.*;
public class Series
{
public static void main(String args[])
{
int a,i,n;
for(n=1;n<=10;n++)
for(i=1;i<=10;i++)
{
a=i*i+n;
System.out.println("Display the series"+a);
}
}
}
Answered by
1
Answer:
Hey mate here's your answer
8-4=4
13-8=5
It means that after every term 1 is added.
4,8,13,20,27,35,44,54,65,77,90,104,119......
Explanation:
Similar questions