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
In what way program "hello world" you can write in vbscript?
Which in-built function related to an array joins substrings into one string in the vbscript language?
What is the difference between VBScript and JavaScript?
Which command is used for writing text on a page?
A folder is there inside no of textfiles are avilable. How do count the textfiles. Normally folder means we are using subfolder methods but textfiles is not working for subfolder methods and how do get file name also.
who will create the object?
How to get the length of the string by making use of the string function?
Why is it recommended to close the database connection every time after the work is completed?
In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
can anyone tell me the procedure of interview held in applabs
Explain about tristate constants in vbscript?
What is the event handling in vbscript?
Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.
How to Import data from a file (file is on the desktop) to the data table