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 display 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



vstr=vstr & vbnewline
next
msgbox vstr

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is purpose of scripting.filesystemobject class in vbscript?

1060


Which in-built function related to an array joins substrings into one string in the vbscript language?

905


By default in vbscript the arguments passed to functions and subroutines are by reference or by value?

1018


Explain about the asc function?

973


How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.

2968


Which data type/types are supported by vbscript language and what are their specialties?

983


how to automatically update the sql server2005 database records when insert in vb6?

1881


What is select case statement?

989


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

897


How can you fetch the value of a cookie?

959


How many types of procedures are available in the vbscript language?

943


Explain a few date functions in vbscript

935


How will you get the octal value of the given number in vbscript?

909


What is the difference between vb debugger and the script debugger?

1067


If else for do while select in vb script?

1070