Computer Science, asked by mukherjeerajoshri, 4 months ago

write a
program is small basic to display/ print the odd numbers between the odd numbers between 1 to 10​

Answers

Answered by khusbuparsad251
0

Answer:

public class DisplayOddNumbersExample1.

{

public static void main(String args[])

{

int number=100;

System.out.print("List of odd numbers from 1 to "+number+": ");

for (int i=1; i<=number; i++)

{

Similar questions