Write VB script to convert from feet to inches(hint 1feet=12
inches)
Answer Posted / 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 View All Answers
How will you get a combined string from array of string in vbscript?
i am having some basic knowledge in c and VB 6.0. i qtp i want to know how to write the codings. by recording it is generating lot of codings. for example i want to test the text box. senerio is text box should not accept alphabets if it accept alphabets we should return fail status if it get number we should return pass status. how to write coding in vb script please help me
How to assign a numeric value to a variable?
Write a test case using Test if the images,a particular test exists,check if the page links match,page response is within a certain range,parameterization of the test,the test should comprise of actions,the test should use a custom function,the test should use global repository
How to open excel in vb script?
How will you get the exponent of the given number in vbscript?
What if you do not specify anything when you call a procedure?
Explain about scrrun.dll in vbscript?
please can you help me to get a code of flames using a visual basic 6
Illustrate briefly about the different types of statement
What is difference between vbscript and vba?
Explain the string concatenation function in vbscript?
How are comments handled in the vbscript language?
Mention what is the main difference between function and sub-procedure?
Explain the tristate constants in vbscript?