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

Dim a
Dim b
a=inputbox("enter a value")
b=inputbox("enter b value")
Dim c
c=int(a)+int(b)
Msgbox c

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Both Static and dynamic arrays are handled by VB script. Is it true?

1051


How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'

3702


what is the standards used for writing the script in QTP

2285


What is the use of the date function in the vbscript language?

971


How to capture a runtime error in vbscript?

1107


What is Procedure or Subroutine in VB Script?

1091


What is the output of a + b in vbscript if a = 5 and b = 10?

3056


Explain the extension .hta?

924


Mention how to create a cookie using vbscript?

954


What are the environments supported by vbscript language?

885


who will create the object?

1928


Explain about constants in vb script?

986


When are redim statement and preserve keyword used in the vbscript language?

999


What is loose binding? Why is it not a good practice to use it?

1066


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

1111