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

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

6966


Explain about filter expression?

941


There are 5 web pages.write a script to click the button on 4th web page.

3363


If else for do while select in vb script?

1081


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

967


In html file what is an ideal position to include vbscript?

1369


write any ttest cases using check points and parameterization

2228


Mention what is the difference between vbscript and vba?

988


Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?

3415


Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?

2443


Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?

920


Mention what is vbscript procedures?

944


Explain about operator precedence in vb script?

1018


when we use filter funtiom invb script(QTP)

2738


What are subprocedures in vbscript?

1063