Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Check whether given Number is Even or Odd?

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


Please Help Members By Posting Answers For Below Questions

why do u choose to go for testing why cant for devoloping

2070


How many types of procedures are available in the vbscript language?

1003


How to assign a date value to a variable?

1101


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.

2346


How are values assigned to string type and numeric type variables?

1009


How will you get the octal value of the given number in vbscript?

961


What are the properties of regexp object?

1111


How to write a VBscript for web page performance test i need a code send if any knows the code If any knows VBScript book plz send to me the link to my mail plz

2875


How to write functions and sub in vb script?

1106


What is the extension of the vbscript file?

1052


what is event handling?

1008


about vb scripting programs this type of all question& answers

2138


What is vbscript language used for and which earlier language is it modeled upon?

1008


Which operator can be used to do an xor operation in vbscript?

1257


Explain the string concatenation function in vbscript?

1050