Computer Science, asked by student1261, 2 months ago

solve this java problem
!!! if you know the answer then only answer otherwise answer would be reported !!!

int a,b;
for(a=6;b=4; a <= 4; a=a+ 6)
{
if(a% b==0)
break;
}
System.out.println(a);​

Answers

Answered by TYKE
17

Question :

int a,b;

for(a=6;b=4; a <= 4; a=a+ 6)

{

if(a% b==0)

break;

}

Answer :

int i =1;

int d = 5;

for(i = 1; i < = 5; i+ +) {

d = d*2;

System.out.println(d);

}

Similar questions