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 rules for using option explicit statement?
how do you make the variable declaration mandatory?what is the use of "option explicit"?
what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?
Is VB Script Case sensitive or Case insensitive?
how to add action through AOM in QTP
write a vbscript for finding the sum of the numbers from 1- 50
WHAT IS ENVIRONMENT VARIABLES?and where it is used in real time scenario?
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans
what do you mean .ota mobile format
Which function is used to perform string comparison?
In QTP how to insert a data base check point for web based application and simultaneous link to code in expert veiw. hw to retrieve a data(single coulumn from server) that matches with inserted value manually or exported from excel sheet.
How to generate 3 digit random number?