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


1
2 2
3 3 3
4 4 4 4
5 5 5 5 5


how to find using vbscripting

Answers were Sorted based on User's Feedback



1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 how to find using vbscripting..

Answer / abbas khan

Option Explicit
Dim Var, i, j


For i = 1 To 5 Step 1
For j = 1 To i Step 1
Var = Var &i &Space(3)
Next
Var = Var &vbNewLine
Next

Msgbox Var

Is This Answer Correct ?    1 Yes 0 No

1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 how to find using vbscripting..

Answer / sumathi

n=inputbox("enter a number")
For i=1 to n
x=" "
For j=1 to i
x=x&vbtab&i
Next
print x
Next

Is This Answer Correct ?    2 Yes 2 No

1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 how to find using vbscripting..

Answer / prathyusha

for i=1 to 5
for j=1 to i
n=n&i
next
v=v&vbcrlf&n
next
msgbox v

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More VB Script Interview Questions

How will you convert a given number to long in vbscript?

0 Answers  


How to throw an error in vbscript?

0 Answers  


What is byref and byval parameters in vbscript?

0 Answers  


write a vb script to calculate factorial of a number?

5 Answers  


What is the use of the instr function?

0 Answers  


How to create a cookie using vbscript?

0 Answers  


We have 1 web page with names column. I am giving the Service Providers1,2,3.... @ that time dynamically some no of names are displaying in the webpage and The Pop up windows are opening(No.of Pop Up windows=No.of Names). The names may be diffar for each and every Service Provders (Dynamically) How can we handle the Dynamic values?

0 Answers  


Can anyone help me in write coding to get this pattern * ** *** ****

3 Answers  


How to Import data from a file (file is on the desktop) to the data table

0 Answers   IBM,


Hi, can any one tell this Actually I AM NEW TO QTP I have one qtp script in which it calls the vbs file during it's run TIME by using the ExecuteFile "absolute path" If the vbs file is executed seperately it will give the output in a msgbox In the same way if qtp script is executed the result will be displayed in w result window right? Now the question is how to get that vbs file output in the qtp result window when I run the qtp script which calls the vbsfile during it's run TIME

1 Answers  


write a vbscript for traffic signal

1 Answers  


join all the array values without using join function?

1 Answers   CSS Corp,


Categories