write a vb script to display factorial of a number using
function
Answer / mudaseer
sub fact(pnum)
dim vf
vf=1
for i=2 to pnum
vf=vf*i
next
msgbox vf
end sub
call fact(0)
call fact(3)
| Is This Answer Correct ? | 4 Yes | 14 No |
Why is error handling required?
How to write functions and sub in vb script?
Can automation testing find ssame no. of bugs what we can find by manual testing?
Hi, Anybody could you Please tell me How to write the script for Checking whether given number is Prime Number or not..Thanks in Advance
How many types of procedures are available in the vbscript language?
who will create the object?
what is fire event method in qtp?
Hello Guys, If any body looking for "worksoft certify tool training in bangalore", please contact me aimansaud@gmail.com
Explain about tristate constants in vbscript?
Explain the .wsf files?
How to take whole text output from screen of Bitmap Application.
regular expression that will recognize a browser as long as its name property starts with mybrowser