Search here for all the info you want in this Blog

write a program to assign and print array elements using forloop and input box

'15) write a program to assign and print array elements using forloop and input box

Dim x(10)

For i=0ToUBound(x) Step1
x(i) = InputBox("enter a value","read value")
Next

For j=0ToUBound(x) Step1
WScript.Echo x(j)
Next

No comments:

Post a Comment