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 |
Difference between Do while loop and while wend loop
Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.
Which in-built function is used to format the number in the vbscript language?
What is the event handling in vbscript?
write a program to display the system specifications of client system with the help of vbScript.
What are the differences between Visual Basic, VBA and VBScript? When would it be appropriate to use one as opposed to another?
Explain about arrays in vb script?
Write a program to display the numbers in the below format using for loops? 1 2 3 4 5 6 7 8 9 10 11 12 and Write a program to display the numbers in the below format using for loops. 1 2 3 4 5 6 7 8 9 10
Difference between dim,public and private variables in vb script?
write a program to display the system specifications of client system with the help of vb script.
Is vbscript language a case-sensitive language and what does it mean?
How to throw an error in vbscript?