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 make sure that items in a wintree are sorted al?

0 Answers   Ness Technologies,


How will you compare two strings in vbscript?

0 Answers  


How to open a file. What is the perpose of true and false mode there?

0 Answers  


Explain about filter expression?

0 Answers  


what do you mean .ota mobile format

0 Answers  


Mention what are the rules to name variable in vbscript?

0 Answers  


What variable can you use to share info across the whole application for one user?

2 Answers  


How to create a cookie using vbscript?

0 Answers  


Explain what is loose binding? Why is it not a good practice to use it?

0 Answers  


Explain the difference between POST and GET Method.

1 Answers  


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.

0 Answers  


VBscript for QTP,best tutorial?

2 Answers   Wipro,


Categories