Write VB script to convert from feet to inches(hint 1feet=12
inches)

Answers were Sorted based on User's Feedback



Write VB script to convert from feet to inches(hint 1feet=12 inches)..

Answer / pravina

Dim feet,inches,c
feet=4
c=12
inches=feet*c
msgbox feet&"feet="&inches&"inches"

Is This Answer Correct ?    7 Yes 1 No

Write VB script to convert from feet to inches(hint 1feet=12 inches)..

Answer / sha

function feet(x)

Inch=12
Res= x*Inch
msgbox x&"Feet"& "="& Res & "Inches"
end function

call feet(2)
Just change instead of 2 any number it ll calu and give u in inches
Hope i answered your question

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More VB Script Interview Questions

What are the advantages of vbscript?

0 Answers  


How will you release the memory acquired by an array variable in vbscript?

0 Answers  


Explain about vb script?

0 Answers  


VBscript for QTP,best tutorial?

2 Answers   Wipro,


Plzzzzzzz can any one tell me which is the best institute in hyderabad for learing VBScript. plz do answer guys its urgent plzzzzzzz. thanks in advance.

0 Answers  






How are values assigned to the variables in the vbscript language?

0 Answers  


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

0 Answers  


What are the uses of vb script?

0 Answers  


How will you get the exponent of the given number in vbscript?

0 Answers  


How regexp.execute method works?

0 Answers  


generic function for webedit box for web application

1 Answers  


What is dictionary object in vbscript? Explain?

0 Answers  


Categories