PL/SQL Program to print odd numbers using for loop

PL/SQL Program to print odd numbers using for loop

Numbers that cannot be evenly divided by 2 are known as odd numbers. In this program, we will generate a list of odd numbers up to n.

 

PL/SQL Program to print odd numbers using for loop

Output

Enter a number : 10

Odd numbers up to 10

1

3

5

7

9

 

 

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top