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...

how to write basic programs in VB Script like addition,
multiplication?

Answer Posted / vani

dim a,b,sum,mul
a=cdbl(inputbox("enter a?"))
b=cdbl(inputbox("enter b?"))
sum=a+b
mul=a*b
msgbox sum
msgbox mul

Is This Answer Correct ?    5 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sql loader? Explain the files used by sql loader to load file?

1108


Mention characteristics of sub procedures?

1004


Explain about scrrun.dll?

912


How will you get the natural logarithm of the given number in vbscript?

1002


what types of bugs will we find out in banking projects for automation testing?

2179


Explain the constants in vbscript?

944


Explain the tristate constants in vbscript?

986


What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?

961


Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder

2097


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.

2105


How do i automate a website www.flyashx.com without having any test cases witin a week time.

1862


Mention the environments where vbscript could be run?

1165


Mention what is byref and byval parameters in vbscript?

972


How will you get a combined string from array of string in vbscript?

909


Mention what is vbscript procedures?

948