what does following program do : public static void main (String() args ) { for(int i = 1; i


what does following program do : public static void main (String() args )


{ for(int i = 1; i<=20; i++)="">


System.out.println(i); i++; } }



a). prints numbers from 1 to 20


b). prints numbers from 1 to 19


c). prints odd  numbers from 1 to 20


d). prints even  numbers from 1 to 20



Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here