Answer Posted / subhani
No = Inputbox("Enter a number to check whether it is Odd or Even")
If no mod 2 = 0 then
msgbox no & " is even."
else
msgbox no & " is odd."
end if
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain about adodb.stream class?
How to pass argument by reference to a function in vbscript?
Which operator can be used to check if two numbers are equal or not in vbscript?
What purpose does ‘on error resume next’ serves?
What is the use of the date function in the vbscript language?
Explain about tristate constants?
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?
What is the difference between function and procedure?
what is the difference between modular and data and keyword driven framework
Explain about scrrun.dll in vbscript?
Mention what is byref and byval parameters in vbscript?
hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?
What if you do not specify anything when you call a procedure?
how to set one column as primary key in QTP and fetch values accordingly
Explain about the functionality of vb script?