VBSCRIPT PROGRAM TO DISPLAY THE ARRAY ELEMENTS

<html>
<head>
</head>
<body>
<script language="vbscript">
dim a(10),i
for  i= 1 to 10
a(i)=InputBox("Enter the element")
next
document.write("Given elements are "+"<br>")
for i=1 to 10
document.write(a(i)+"<br>")
next
</script>
</body>
</html>

No comments:

Post a Comment