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

Difference between Do while loop and while wend loop

1 Answers  


Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.

0 Answers  


Which in-built function is used to format the number in the vbscript language?

0 Answers  


What is the event handling in vbscript?

0 Answers  


write a program to display the system specifications of client system with the help of vbScript.

0 Answers  


What are the differences between Visual Basic, VBA and VBScript? When would it be appropriate to use one as opposed to another?

1 Answers   Infosys,


Explain about arrays in vb script?

0 Answers  


Write a program to display the numbers in the below format using for loops? 1 2 3 4 5 6 7 8 9 10 11 12 and Write a program to display the numbers in the below format using for loops. 1 2 3 4 5 6 7 8 9 10

2 Answers  


Difference between dim,public and private variables in vb script?

0 Answers  


write a program to display the system specifications of client system with the help of vb script.

1 Answers  


Is vbscript language a case-sensitive language and what does it mean?

0 Answers  


How to throw an error in vbscript?

0 Answers  


Categories