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 |
Mention the environments where vbscript could be run?
write a vb script to generate the following pattern ***** **** *** ** *
What is purpose of scripting.filesystemobject class in vbscript?
Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?
Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.
write generic functions for webapplication?like generic function for webedit generic function for webbutton generic function for links
when you use For Loop, While..do, do..while? at what situations which loop will use.
How to make sure that items in a wintree are sorted al?
How will you convert a string to upper case string using vbscript?
a;;b;c;;;d in this string output is abcd will come how can we do that in vbscript in QTP testing?
I have string like hp company.print tis like company hp.write a program in vbscripting
hey please tell me how to retriev data from excel sheet which puts the login name and password in the application? plz send me the code..please help me