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

Write a program to display the numbers in the below format using for loops? 1 2 3 4 5 6 7 8 9 10 11 12 and Write a program to display the numbers in the below format using for loops. 1 2 3 4 5 6 7 8 9 10

2 Answers  


Which operator can be used to change the value of the operand or change the state of the condition?

0 Answers  


How to remove the spaces in a string Ex: "Welcome to QTPWorld" ?

10 Answers   Cap Gemini, CTS,


Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?

0 Answers  


what is the differenece btwn scripting language and programming language

4 Answers  






Could Anybody tell me the VBscript for REVERSE an Integer int reverse(int num) Ex:246 to 642

7 Answers   Amazon,


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

0 Answers   Zensar,


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

0 Answers  


Is VB Script Case sensitive or Case insensitive?

0 Answers  


How are arrays declared in the vbscript language?

0 Answers  


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

5 Answers   Polaris, TCS,


1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)

0 Answers   iFlex,


Categories