writte a program to print odd no 1 to 100
Answers
Answered by
1
I am writing the program in java
class Odd_number
{
public static void main()
{
System.out.println("ODD Number from 1-100 ");
for(int i=1;i<101;i++)
{
if(i%2!=0)
System.out.println(i);
}
}
}
class Odd_number
{
public static void main()
{
System.out.println("ODD Number from 1-100 ");
for(int i=1;i<101;i++)
{
if(i%2!=0)
System.out.println(i);
}
}
}
Anonymous:
y is it reported?
Answered by
1
to print odd no 1 1óô
Attachments:
Similar questions