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 |
Hi all..I have two values. a=20 ,b=30 I want to perform c= a+b and c= a*b using user define function.please anyone give the answer
Explain about adodb.stream class?
write a vb script to add two 2*2 matrix
How to throw an error in vbscript?
What is loose binding? Why is it not a good practice to use it?
How will you get the octal value of the given number in vbscript?
what is used of Property........End Property loop ? how to write the script for it?
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?
how to operate webobjects in a webpage using getobject function and then using generic methods?
Mention what is select case statement?
about vb scripting programs this type of all question& answers
What is sql loader? Explain the files used by sql loader to load file?