Computer Science, asked by riyan155667, 11 months ago

write a java program to find the first 10 term of the series 1,2,4,8,16,.......​

Answers

Answered by charlie1505
1

Answer:

public class series

{

public static void main(String arts[])

{

int i;

for(i=1;i<=128;i*=2)

System. out. println(" "+i);

}

}

The program will print the series 128th number.

Similar questions