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

DIM A
A=INPUTBOX("enter a val")
DIM B
B=INPUTBOX("enter b val")
DIM C
DIM D
C=A+B
MSGBOX ("C is" &C)

C=INT (A)+INT (B)
MSGBOX ("C is" &C)

D=A*B
MSGBOX ("d is" &d)

Is This Answer Correct ?    16 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you convert a string to lower case string using vbscript?

1011


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?

1011


Which command is used for writing text on a page?

998


Explain about vb script?

1215


How will you get the last occurrence of one string within another string using vbscript?

1180


How to throw an error in vbscript?

1130


what is the standards used for writing the script in QTP

2326


Mention what is the difference between vbscript and vba?

1034


Explain few date functions in vbscript?

1042


Which in-built function related to an array joins substrings into one string in the vbscript language?

941


how to set one column as primary key in QTP and fetch values accordingly

2313


What is the extension of the vbscript file?

1046


Explain the operator precedence in vb script?

1056


filter the array values without using filter function?

2094


how to comvert 120 into one hunderd twenty rupees only and vice varsa

2353