Computer Science, asked by kotharimaharshi, 17 days ago

Rewrite the following using for loop :

int b = 2;

while(b <= 12)

{ x = x + 3;

System.out.println(b);

b = b * 2;

}

System.out.println(b + 1);

Answers

Answered by aslamm1
0

Answer:

for(int i=2;i>1;i++)

System.out.print("*");

Explanation:

Similar questions