Write a VB Script to Print odd numbers between given range of numbers

Odd Number: In this program we are writing script to print the odd numbers form “1” to given number. An odd number is an integer which is not a multiple of two. If it is divided by two the result is a fraction. One is the first odd positive number. The next four bigger odd numbers are three, five, seven, and nine. You can tell if any decimal number is an odd number if the last digit is an odd number. So some sequential odd numbers are: {1,3,5,7,9,11,13,15,17,19,21,23,25...}
Out Put Of the Above Program









No comments:

Post a Comment