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

Could Anybody tell me the Script for REVERSE an Interger int reverse(int num) Ex:246 to 642.. Thanks in Advance.

3 Answers   Amazon,


Can anyone send me a vb script function for verifying the functionality of active links on a web page

0 Answers   Zensar,


What methods are used to create text files and open text files in the vbscript language?

0 Answers  


What is purpose of scripting.filesystemobject class in vbscript?

0 Answers  


How will you get the largest subscript of an array in vbscript?

0 Answers  






1. How do declare public variable in vb scripts?

0 Answers  


What are the different types of loops available in the vbscript language?

0 Answers  


What is the technology used by vb script?

0 Answers  


how to find the textfile in the folder and copy file from one folder to another folder useing parameterigation in QTP

1 Answers   Accenture,


How can you create an object in vbscript?

0 Answers  


Why is it recommended to close the database connection every time after the work is completed?

0 Answers  


Can anyone help me in write coding to get this pattern * ** *** ****

3 Answers  


Categories