write a java program to find the first 10 term of the series 1,2,4,8,16,.......
Answers
Answered by
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
English,
6 months ago
Math,
6 months ago
English,
1 year ago
Geography,
1 year ago
Social Sciences,
1 year ago