Computer Science, asked by agamdeep2908, 17 days ago

write a program in Java to display first n terms of series given below 1,1,1,3,5,9,17..​

Answers

Answered by shrabanid934
0

Answer:

xasdr dghjut lhbhufg lhhhurvhtsgkoth

Answered by lakshmiprakash04
1

Answer:

Explanation:

class series

{

public static void main()

{

int a=1,b=1;

for(int i=1;i<=10;i++,b++)

{

System.out.println(a+", ");

a+=b;

}

}

}

Similar questions