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

What is the purpose of folders object of scripting.filesystemobject class in vbscript?

0 Answers  


write a vb script code to display the vbscript word by word (i e 1st it should display v then b and up to t )

1 Answers  


why variable name should not exceed 255 characters?

0 Answers  


Explain the functionality of vbscript?

0 Answers  


How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.

0 Answers   College School Exams Tests,






Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.

0 Answers  


Why to add checkpoint in QTP What's the purpose of checkpoints & how to add it

2 Answers  


How to create pull down menu box using vb script

0 Answers  


Explain about the asc function?

0 Answers  


How to add actions in driver script to run those actions in QTP?

0 Answers  


plz give ans to this in vb script........ "krishna radha" i want to print this string "Radha Krishna" like this

5 Answers  


How are comments handled in the vbscript language?

0 Answers  


Categories