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

'addition
DIM A
A=INPUTBOX("enter a val")
DIM B
B=INPUTBOX("enter b val")
DIM C
DIM D
C=A+B
MSGBOX C (here output is 1020)

C=INT (A)+INT (B)
MSGBOX C '(HERE OUTPUT IS 30)

D=A*B
MSGBOX D '(OUTPUT IS 200)

Is This Answer Correct ?    50 Yes 29 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention what is vbscript procedures?

1014


Hi this is Vinoth. I need a help on below mentioned question A combobox contains list of items assume as 5 I have to get each items Individually and I have to Export to datatable. Please help me on this. Thanks

2133


What is the difference between javascript and vbscript?

1180


where can i learn VB scripint ?

2101


How to create a cookie using vbscript?

1214


How do you declare a variable in vbscript?

1073


Explain the adodb.stream class?

1017


Explain about tristate constants in vbscript?

1088


how to check whether link is disabled in QTP??

6114


what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?

1922


What is the purpose of on error resume next statement?

997


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

1012


Mention how to create a cookie using vbscript?

1011


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

2008


How will you reverse a string in vbscript?

1164