write a vb script to calculate factorial of a number?
Answer Posted / mudaseer
vf=1
vnum=inputbox("enter a no")
for i=2 to vnum
vf=vf*i
next
msgbox vf
| Is This Answer Correct ? | 98 Yes | 25 No |
Post New Answer View All Answers
How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.
What are the special sub-types in vbscript?
How to access array data?
Mention how you can call vbscript functions?
What is the use of option explicit in vbscript?
In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?
How will you compare two strings in vbscript?
What are the data types supported by vbscript?
i need to sort the data using qtp script for this how i need to write a qtp script
What is the main difference between function and sub-procedure?
When are redim statement and preserve keyword used in the vbscript language?
How to open browser in vb script?
Explain the asc function?
what is diff between static and dynaic arrys?
why do u choose to go for testing why cant for devoloping