Write a program to display all prime odd numbers within a range using FOR loop.
Please answer someone pls
Answers
Answered by
0
Answer:
1.public class DisplayOddNumbersExample1
2. public static void main(String args[])
3. int number=100
4. System.out.print("List of odd numbers from 1 to "+number+": ");
5. for (int i=1; i<=number; i++)
Similar questions