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 you can call vbscript functions?
What are the uses of vb script?
How to Enter Values on the Command promt using VB script
What are the 2 ways to pass a value to the function?
Explain the support of asp for vb script functionality?
How to create a cookie using vbscript?
Which constant is used for print and display functions and works as same as pressing enter key?
Mention what is variant in vbscript?
What's the difference between vbscript and vb.net?
How will you get the largest subscript of an array in vbscript?
Mention what is the difference between vbscript and vba?
Explain about arrays in vb script?
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..
What is the difference between function and procedure?
Which function is used to perform string comparison?