write a vb script to calculate factorial of a number?
Answer Posted / mogal
n = 12345
f =1
for i =1 to len(n)
f = f* i
next
msgbox f
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
how does vb script help in web page designing? explain with example.
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
Explain about tristate constants?
how to set one column as primary key in QTP and fetch values accordingly
Mention what is the main difference between function and sub-procedure?
Explain about scrrun.dll?
Hi this is Vinoth. I need a help on below mentioned question A combobox contains list of items assume as 5 I have to get each items Individually and I have to Export to datatable. Please help me on this. Thanks
Can any one provide code for Mid(string,start[,length]). I have been asked to write code for Mid(). i.e We need to define our own function say MyMid() which should behave same like built-in Mid function
Explain the operator precedence in vb script?
Mention the rules for using option explicit statement?
What is the difference between javascript and vbscript?
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans
What's the difference between vbscript and vb.net?
What are the naming conventions while declaring a variable in the vbscript language?
how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me