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 |
how to declare a variable in vbscript using vbscript
write a vb script to display calculator using case statement?
Explain about scrrun.dll in vbscript?
what types of bugs will we find out in banking projects for automation testing?
0 Answers Napier Healthcare, TCS,
When are redim statement and preserve keyword used in the vbscript language?
what do you mean .ota mobile format
give me any information abou vb script books learn quckly
Which loop is used in case of arrays in the vbscript language?
What is wrong with the following code: <%afname="header.asp"%><!?#include file ="<%=afname%>"?>
i need to login to my yahoo accoutnt using VB Script, automating the operation of webobjects, even launching of IE. How?
which is the best institute in banglaore for software testing?
am giving to one number u can set into that in date format.u can use any methods