Answer Posted / 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 |
Post New Answer View All Answers
Like OPTION EXPLICIT statement what are the other statements used in vbscript and their usage. Please post me all the statements please.
What are string functions in vbscript?
create a form to accept username and password validate the username and password with using message box, display the corresponding user message
If else for do while select in vb script?
give me any information abou vb script books learn quckly
Explain about vb script?
How are values assigned to the variables in the vbscript language?
Mention what is select case statement?
How will you get the smallest subscript of an array in vbscript?
Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).
Which function allows you to instantiate an object given its programmatic identifier or progid?
Hi All, I am facing one problem in QTP. There is link object in my application that exist in the Frame in mozilla firefox. Click event on that object is not working but once the frame is enabled/activated then click event works fine.But the frame does not have the activate property. This problem is coming in firefox only. Regards
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
What is the output of a + b in vbscript if a = 5 and b = 10?
Which operator can be used to do an xor operation in vbscript?