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
What are string functions in vbscript?
Mention what is vbscript procedures?
Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?
What is the purpose of folders object of scripting.filesystemobject class in vbscript?
What is the difference between vb debugger and the script debugger?
What methods are used to create text files and open text files in the vbscript language?
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 class properties?
Mention characteristics of sub procedures?
i need to sort the data using qtp script for this how i need to write a qtp script
How to delete a cookie using vbscript?
Explain vbscript in detail?
How to pass argument by reference to a function in vbscript?
What are the advantages of vbscript?
How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.