Write a program to print all odd numbers from 100 to 150 ( Using Do-While loop)..
Answer me very fast as soon as possible
Answers
Answered by
1
Answer:
public class loop
{
public void calc( )
{
int i=99;
do
{
i=i+2;
} while (i<=150);
System.out.println(i);
}
}
Similar questions
Science,
5 hours ago
English,
5 hours ago
English,
9 hours ago
Environmental Sciences,
7 months ago
English,
7 months ago