write a vb script to generate 3*3 matrix
Answers were Sorted based on User's Feedback
Answer / mudaseer
dim varr(2,2)
for i=0 to 2 step 1
for j=0 to 2 step 1
varr(i,j)=inputbox("enter the value")
next
next
for i=0 to 2 step 1
for j=0 to 2 step 1
vstr=vstr & varr(i,j) & " "
next
msgbox vstr
vstr=vstr & vbnewline
next
msgbox vstr
by mudaseer20@gmail.com
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / smita
dim varr(2,3)
for i=0 to ubound(a,1)
for j=0 to ubound(a,2)
varr(i,j)=inputbox("enter the value")
next
next
for i=0 to 2 step 1
for j=0 to 3 step 1
vstr=vstr & varr(i,j) & " "
next
vstr=vstr & vbnewline
next
msgbox vstr
Is This Answer Correct ? | 0 Yes | 0 No |
generic function for webedit box for web application
What are the naming conventions while declaring a variable in the vbscript language?
Explain the .wsf files?
Which date function is used in the vbscript language to find the difference between the 2 dates?
What is the purpose of regexp object in vbscript?
Why is it recommended to close the database connection every time after the work is completed?
write a vb script to display the reverse of vbs
What is dictionary object in vbscript? Explain?
How can you fetch the value of a cookie?
What are the advantages of vbscript?
How to Import data from a file (file is on the desktop) to the data table
input values to accept 2 numbers & print the product, difference and sum using switch case