Chemistry, asked by jkkjkj, 11 months ago

write a program to find the following series upto 10 terms"
11,55,99.............................

Answers

Answered by Anonymous
2

import java.util.*;

public class Series

{

public static void main(String args[])

{

Scanner in = new Scanner(System.in);

int a=11,i;

for(i=1;i<=34;i=i+4)

{

a=a*i;

System.out.println("The series is"+a);

}

}

}

Answered by Anonymous
2

import java.util.*;

public class Series

{

public static void main(String args[])

{

int a=11,b,c;

//using for loop

for(c=1;c<=34;c=c+4)

{

b=a*c;

System.out.println("The series is"+b);

}

}

}

Similar questions