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 is the function to get the ascii value of the character?

6 Answers   Netxcell, Oracle,


What are events in the vbscript language?

0 Answers  


What are the differences between Visual Basic, VBA and VBScript? When would it be appropriate to use one as opposed to another?

1 Answers   Infosys,


Explain the adodb.stream class?

0 Answers  


What are subprocedures in vbscript?

0 Answers  






write a vb script to display factorial of a number using function

1 Answers  


Hi, Anybody could tell me What is the script for Reverse of Given number. Ex:236--632. Thanks in Advance..

10 Answers   Amazon, CSC,


why do u choose to go for testing why cant for devoloping

0 Answers  


hi, How will write a regular expression of date in VB scripting.

1 Answers  


How many types of operators are available in the vbscript language?

0 Answers  


Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?

0 Answers  


Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.

0 Answers  


Categories