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

wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......

1892


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

997


what is the use of QCUtil? explain with one example?

7058


What are the special sub-types in vbscript?

1052


Explain the string concatenation function in vbscript?

1050


Explain about adodb.stream class?

1130


How will you get a combined string from array of string in vbscript?

960


What are the naming conventions while declaring a variable in the vbscript language?

1046


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.

3008


Write a code to print numbers from 5 to 0?

1132


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

939


How will you get the last occurrence of one string within another string using vbscript?

1193


Explain How do you create a recordset object in vbscript?

1023


Difference between dim,public and private variables in vb script?

953


How to Convert Hex color code to color name in VB Script?

4414