Search here for all the info you want in this Blog

write a program to print odd numbers starting from 1 to 20

'12) write a program to print odd numbers starting from 1 to 20

For i=1To20Step2
WScript.Echo i
Next

' or you can also write this logic

For i=1To20Step2
If (i Mod2) <>0then
WScript.Echo i
EndIf
Next

No comments:

Post a Comment