Computer Science, asked by sarbajitchowdhary, 6 months ago

5 points
Q.Predict output class Num{ public
static void main (String or []){ for (int
i=0; i<20; i=i+3){ System.out.print (it “
*
O a 0 3 6 9 12 15 18
O b0 47 10 13 16 19
O c 147 10 13 16 19​

Answers

Answered by Anonymous
0

Answer:

public class Main {

public static void main(String args[]) {

int arr[] = {10, 20, 30, 40, 50};

for(int i=0; i < arr.length; i++)

{

System.out.print(" " + arr[i]);

}

}

}

Similar questions