Computer Science, asked by kuilagurudas, 2 months ago

Write a program to print all odd numbers from 100 to 150 (Using Do-While).​

Answers

Answered by ajb7899
0

Answer:

The answer is provided in Java environment

Explanation:

public class Print

{

void main

{

int i = 100;

do

{

if(i%2 !=0)

System.out.println(i);

i++;

}

while(i<=150);

}

}

Similar questions