Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


write a vb script to generate 3*3 matrix

Answers were Sorted based on User's Feedback



write a vb script to generate 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
msgbox vstr
vstr=vstr & vbnewline
next
msgbox vstr

by mudaseer20@gmail.com

Is This Answer Correct ?    3 Yes 0 No

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

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

Post New Answer

More VB Script Interview Questions

Mention the environments where vbscript could be run?

0 Answers  


write a vb script to generate the following pattern ***** **** *** ** *

7 Answers   Blue Star,


What is purpose of scripting.filesystemobject class in vbscript?

0 Answers  


Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?

0 Answers  


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.

0 Answers   CSC,


write generic functions for webapplication?like generic function for webedit generic function for webbutton generic function for links

1 Answers  


when you use For Loop, While..do, do..while? at what situations which loop will use.

1 Answers  


How to make sure that items in a wintree are sorted al?

0 Answers   Ness Technologies,


How will you convert a string to upper case string using vbscript?

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  


I have string like hp company.print tis like company hp.write a program in vbscripting

1 Answers   HP,


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

6 Answers   HP,


Categories