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
English,
1 month ago
Math,
1 month ago
Math,
1 month ago
English,
3 months ago
Environmental Sciences,
10 months ago
English,
10 months ago
Political Science,
10 months ago