Computer Science, asked by nikhil292, 1 year ago

writte a program to print odd no 1 to 100

Answers

Answered by Anonymous
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);
}
}
}

Anonymous: y is it reported?
Answered by user20
1
to print odd no 1 1óô
Attachments:
Similar questions