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 |
What are the different types of loops available in the vbscript language?
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
How to write VB script for login module?
can anyone tell me the procedure of interview held in applabs
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.?
How are comments handled in the vbscript language?
What is Querystring collection?
HOW TO OPEN NEW TAB USING VB SCRIPT IN QTP?
How can constants be declared in the vbscript language?
Explain about adodb.stream class?
Plz give the vb script for the following scenerio. In travel booking we have to select from delhi to mumbai from the combobox The prices will be display in another combo box .But i have to select the lowest price for it and submit it
Join the multiple array with out using JOIN function