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 assign a numeric value to a variable?
i need to sort the data using qtp script for this how i need to write a qtp script
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?
Mention how to access array data?
How will you get the smallest subscript of an array in vbscript?
Explain the support of asp for vb script functionality?
Mention what is select case statement?
Program to use input box and send even numbers into sheet1 and odd numbers into sheet2 and prime numbers into sheet3 using vbscript(QTP)?
I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.
Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji
How to declare an array in vbscript?
how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me
What is variant in vb script?
How are arrays declared in the vbscript language?
How will you format a number in percetage format in vbscript?