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 to declare an array in vbscript?
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.
what is the features of visual basic?
What are the naming conventions while declaring a variable in the vbscript language?
Which constant is used for print and display functions and works as same as pressing enter key?
How to write VB script for login module?
What is the output of a + b in vbscript if a = 5 and b = 10?
What are the 2 ways to pass a value to the function?
Hai this is sheik, i want to learn VB scripts for web application pls guide me what are all basic things need to know to learn VB scripts in web application.
What is the purpose of on error resume next statement?
Mention what if you do not specify anything when you call a procedure?
how to operate webobjects in a webpage using getobject function and then using generic methods?
Mention how to access array data?
How will you get the natural logarithm of the given number in vbscript?
How can constants be declared in the vbscript language?