Header Ads

Display Natural numbers in reverse order up to n

Dim num,n
n=Inputbox ("Enter a Vaule")
For num=n to 1 step -1
msgbox num
Next
Powered by Blogger.