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
How will you get the octal value of the given number in vbscript?
How will you get the natural logarithm of the given number in vbscript?
Which operator is used to perform the comparison among 2 operands in the vbscript language?
What are the valid scopes of a variable in vbscript?
What is the technology used by vb script?
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
What is the use of option explicit in vbscript?
how to automatically update the sql server2005 database records when insert in vb6?
How to add actions in driver script to run those actions in QTP?
Illustrate briefly about the different types of statement
How to throw an error in vbscript?
Explain the string concatenation function in vbscript?
What is the purpose of the err object in the vbscript language?
where can i learn VB scripint ?
How will you convert a given number to long in vbscript?