write a vb script to display
*****
*****
*****
*****
*****

Answers were Sorted based on User's Feedback



write a vb script to display ***** ***** ***** ***** *****..

Answer / mudaseer

for i=1 to 5 step 1
for j=1 to 5 step 1
vstr=vstr & "*" & " "
next

vstr=vstr & vbnewline
next
msgbox vstr

Is This Answer Correct ?    4 Yes 0 No

write a vb script to display ***** ***** ***** ***** *****..

Answer / sumathi

For i =1 to 5
var=string(5,"*")
print var
Next

Is This Answer Correct ?    0 Yes 0 No

write a vb script to display ***** ***** ***** ***** *****..

Answer / eswar

cnt =0
x = "*"
For i=1 to 25
y=y&x
cnt = cnt+1
If cnt = 5 Then
cnt = 0
y = y&" "
End If
Next
MsgBox y

Is This Answer Correct ?    0 Yes 0 No

write a vb script to display ***** ***** ***** ***** *****..

Answer / prathyusha

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

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More VB Script Interview Questions

Explain the extension .hta?

0 Answers  


If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?

0 Answers  


Hi Friends, I am facing some issues with If,else condition,i.e. i am working on some web page for ex:gmail page.now if i want to check if username is incorrect or already exist,i want to display error message in my test report,for this i am using a simple code first,i.e. If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "Shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If But still i am getting a syntax error If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If I don't feel any thing wrong in this syntax but i don't understand why it shows such error,i am confused what went wrong,please help me out & do the favor,thanks a lot....

1 Answers  


Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..

0 Answers   Amazon,


In qtp, how to use XML files for framework. if the XML files are more Efficient than Excel files?

1 Answers  






How will you get a string with the specified character the specified number of times in vbscript?

0 Answers  


What is vbscript language used for and which earlier language is it modeled upon?

0 Answers  


How to remove the spaces in a string Ex: "this is apple"

5 Answers   Cap Gemini,


how does vb script help in web page designing? explain with example.

0 Answers  


how to organize files in object repository of qtp

1 Answers  


what is the differenece btwn scripting language and programming language

4 Answers  


What are the 2 ways to pass a value to the function?

0 Answers  


Categories