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 use of Data base check point ?

3 Answers  


HOW TO OPEN NEW TAB USING VB SCRIPT IN QTP?

1 Answers   TCS,


* ** *** Please write a code to get output like above diagram? ple explain as it how the code works?

2 Answers  


How to write VB Script for selecting a particular row in a WebTable?

1 Answers   Patni,


Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?

0 Answers  






Explain about the support of asp for vb script functionality?

0 Answers  


Which is the default Data types in VBScript?

5 Answers  


How can you create a file object to work with the files in the vbscript language?

0 Answers  


Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?

0 Answers  


Can automation testing find ssame no. of bugs what we can find by manual testing?

0 Answers  


Explain different types of segment?

0 Answers  


Write a program to resize an array of 5 elements to 4 elements and display all the elements.

1 Answers  


Categories