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?

Answers were Sorted based on User's Feedback



Check whether given Number is Even or Odd?..

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

Check whether given Number is Even or Odd?..

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

Post New Answer

More VB Script Interview Questions

how to declare a variable in vbscript using vbscript

4 Answers  


write a vb script to display calculator using case statement?

1 Answers  


Explain about scrrun.dll in vbscript?

0 Answers  


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?

0 Answers  


what do you mean .ota mobile format

0 Answers  


give me any information abou vb script books learn quckly

0 Answers  


Which loop is used in case of arrays in the vbscript language?

0 Answers  


What is wrong with the following code: <%afname="header.asp"%><!?#include file ="<%=afname%>"?>

1 Answers  


i need to login to my yahoo accoutnt using VB Script, automating the operation of webobjects, even launching of IE. How?

1 Answers   Mphasis,


which is the best institute in banglaore for software testing?

1 Answers  


am giving to one number u can set into that in date format.u can use any methods

1 Answers   HP,


Categories