Check whether given Number is Even or Odd?
Answers were Sorted based on User's Feedback
Answer / styxopty
i = cint(inputbox ("Enter any Number to check Even or Odd"))
if i mod 2 = 0 Then
msgbox i&" is Even"
else
msgbox i&" is Odd"
end if
| Is This Answer Correct ? | 6 Yes | 3 No |
Answer / 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 |
i need to sort the data using qtp script for this how i need to write a qtp script
What is the use of the recordset object and which statement is used to create such an object?
how to write validation function for date in vb script
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)
What is the purpose of regexp object in vbscript?
What is the use of option explicit statement?
How can you create a file object to work with the files in the vbscript language?
can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.
what is the code in QTP to take screen shot? Please send me any one to my mail id. my mailid is manu.sanepalli@gmail.com
write a vb script to generate hello 5 times using do until loop
Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?
write a program to display configuration of a local system with the help of vb script.