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 |
write a qtp script to count the number of minimized windows
Whenever I use Wscript.Echo Qtp raising Run time error as 'Object required for Wscript' How I can create object for Wscript
Explain the operator precedence in vb script?
How can you test font size, type and color using QTP tool?
How to remove the spaces in a string Ex: "this is apple"
What is the difference between javascript and vbscript?
how to delete folder test3,test4 and test5 using vbscript?
which is the best institute in banglaore for software testing?
Out of the different type of operators, which are evaluated first and last in the vbscript language?
How do you create a recordset object in VBScript?
Mention the environments where vbscript could be run?
What are the differences between sub procedures and function procedures?