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 / jansheer

dim a
dim b
dim c
a=cintinputbox("enter first no")
b=cintinputbox("enter second no")
c=a+b
msgbox("sum of "&a&"and"&b&"is")

Is This Answer Correct ?    4 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com

2129


Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?

967


why variable name should not exceed 255 characters?

2230


What is byref and byval parameters in vbscript?

1083


What is difference between vbscript and vba?

1217


how to write validation function for date in vb script

2623


Mention how to access array data?

1002


How will you compare two strings in vbscript?

1069


What is the purpose of folders object of scripting.filesystemobject class in vbscript?

1370


what is the use of QCUtil? explain with one example?

7056


How will you get a random number between 0 and 1 in vbscript?

1321


How to Convert Hex color code to color name in VB Script?

4414


How to Import data from a file (file is on the desktop) to the data table

2070


Explain the string concatenation function in vbscript?

1047


If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?

2048