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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you format a number in percetage format in vbscript?

932


Why is it recommended to close the database connection every time after the work is completed?

877


How regexp.execute method works?

1022


What is loose binding? Why is it not a good practice to use it?

1051


What are the differences between sub procedures and function procedures?

933


How to pass argument by reference to a function in vbscript?

977


What is Procedure or Subroutine in VB Script?

1069


What's the difference between vbscript and vb.net?

1037


why do u choose to go for testing why cant for devoloping

2017


How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'

3692


Why is the use of exit do or exit for statements within loops discouraged?

983


i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click

1803


Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?

914


Explain what is loose binding? Why is it not a good practice to use it?

1026


How to create a function in vbscript?

1142