write a qbasic program to print all odd numbers between 100 to 200
Answers
Answered by
0
Answer:
public class Main
{
public static void main(String[] args) {
for(int i = 100; i <= 200; i++){
if(i%2 == 1){
System.out.print(i + " ");
}
}
}
}
Explanation:
Similar questions