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
Why is error handling required?
Mention what is byref and byval parameters in vbscript?
Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.
Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?
Explain about arrays in vb script?
after medical test,when will be the police verification
Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)
1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)
How will you convert a string to lower case string using vbscript?
What are the environments supported by vbscript language?
What is the difference between vb debugger and the script debugger?
What are the 2 ways in which a variable can be declared in the vbscript language?
Can anyone send me a vb script function for verifying the functionality of active links on a web page
What is the difference between function and procedure?
Explain vbscript in detail?