Computer Science, asked by angel74939, 2 months ago

Write a program to display all prime odd numbers within a range using FOR loop.

Answers

Answered by joshimleena
2

Explanation:

Using while loop by checking the condition number<=n (value of number is less than or equal to n) - this will execute the loop until the value of number is less than or equal to n. Then, within the loop, we are checking the condition to check whether number is ODD or not, the condition is (number%2 !=

Similar questions