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 to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...
What are the valid scopes of a variable in vbscript?
How to open excel in vb script?
Explain the support of asp for vb script functionality?
How will you get the exponent of the given number in vbscript?
Which loop is used in case of arrays in the vbscript language?
What are the properties of regexp object?
who will create the object?
How to take whole text output from screen of Bitmap Application.
What is the difference between function and procedure?
Explain a few date functions in vbscript
what is the differance between BYVAL,BYREF?
How will you convert a string to upper case string using vbscript?
Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?
How can you create an object in vbscript?