write a vb script to display 3*3 matrix



write a vb script to display 3*3 matrix..

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



vstr=vstr & vbnewline
next
msgbox vstr

Is This Answer Correct ?    10 Yes 3 No

Post New Answer

More VB Script Interview Questions

write a program to display the system specifications of client system with the help of vb script.

1 Answers  


What is the use of "Option Explicit"?

2 Answers  


What is sql loader? Explain the files used by sql loader to load file?

0 Answers  


a;;b;c;;;d in this string output is abcd will come how can we do that in vbscript in QTP testing?

2 Answers  


where can i learn VB scripint ?

0 Answers   Satyam,






How to insert snapshot during manual scripting in QTP?

1 Answers  


after medical test,when will be the police verification

0 Answers   IBM,


What is purpose of scripting.filesystemobject class in vbscript?

0 Answers  


write a vb script to display factorial of a number using function

1 Answers  


Explain some uses of vb script?

0 Answers  


What is the difference between VBScript and JavaScript?

0 Answers  


How to pass the parameter from one function to another function in VB Scripting?

1 Answers   Fastenal,


Categories