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 write vb script code for login gmail page by using notepad and how to run script in notepad
How many types of operators are available in the vbscript language?
Both Static and dynamic arrays are handled by VB script. Is it true?
Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.
What is the use of the formatdatetime function in the vbscript language?
Write a program to create a Dynamic array of size 5 elements and display all the elements.
Write a test case using Test if the images,a particular test exists,check if the page links match,page response is within a certain range,parameterization of the test,the test should comprise of actions,the test should use a custom function,the test should use global repository
What are the differences between Visual Basic, VBA and VBScript? When would it be appropriate to use one as opposed to another?
Explain the .wsf files?
My Salary is 65000. How Much TDS I have to pay
how does vb script help in web page designing? explain with example.
How you can call vbscript functions?