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?

Answers were Sorted based on User's Feedback



how to write basic programs in VB Script like addition, multiplication?..

Answer / rambabu

This is good for any one

Is This Answer Correct ?    3 Yes 4 No

how to write basic programs in VB Script like addition, multiplication?..

Answer / dipanjan

Dim a, b, c, d As Integer
a = TextBox1.Text
b = TextBox2.Text
c = TextBox3.Text
d = Int(a) + Int(b) + Int(c)
MsgBox (d)

for multiplication:

d = a * b * c
MsgBox (d)

Is This Answer Correct ?    6 Yes 8 No

how to write basic programs in VB Script like addition, multiplication?..

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

how to write basic programs in VB Script like addition, multiplication?..

Answer / amar

addition
dim a
dim b
dim c
c=a+b

Is This Answer Correct ?    9 Yes 23 No

Post New Answer

More VB Script Interview Questions

How can I access an object in another frame?

1 Answers  


Is VB Script Case sensitive or Case insensitive?

0 Answers  


What is the difference between javascript and vbscript?

0 Answers  


write a vb script to display calculator using case statement?

1 Answers  


1)How to test whether items in a weblist are in alphabetical order or not?

1 Answers   TCS,


What is the difference between ByRef and ByVal. When to use ByRef and ByVal

5 Answers   Polaris, TCS,


Join the multiple array with out using JOIN function

1 Answers  


write a vb script to add two 2*2 matrix

2 Answers  


How can you test font size, type and color using QTP tool?

3 Answers  


Explain sga memory structures?

0 Answers  


How to get the background color of a weblist?

3 Answers   Accenture,


how to retrieve native property value in runtime?

1 Answers   Hexaware,


Categories