+ 1

Write a program in Java to display 50 consecutive odd numbers

how it can be done

7th Feb 2017, 12:56 PM
Shyam Sundar Mundhra
Shyam Sundar Mundhra - avatar
1 Resposta
+ 2
for(int i=1;i<=99;i+2) { system.out.println(" ",i); }
7th Feb 2017, 4:47 PM
Mustafa Rokadiya
Mustafa Rokadiya - avatar