Social Sciences, asked by harshitiit94, 10 months ago

Write the output for the following int a[ ] ={20,30,40,50}; for(int i=0; i<4;i++)) { if ( a[i]% 4 ==0) { System.out.print(a[i]+" ");}}​

Answers

Answered by shivangik289
1

Answer:

The output should be 20 40

Explanation:

Hope it helps.

Answered by aninditak321
0

The output for these statements are :

Output

20

40

Similar questions
Math, 1 year ago