Write a program to display the following series upto 10 terms:
7,14,21......................................
Answers
Answered by
3
Ap arthematic progretion.
Answered by
5
import java.util.*;
{
public class Series
{
public static void main(String args[])
{
int a=7,b;
for(b=1;b<=10;b++)
{
a=a*b;
System.out.println("Display the series"+b);
}
}
}
Similar questions