Hi all..I have two values. a=20 ,b=30
I want to perform c= a+b and c= a*b using user define
function.please anyone give the answer
Answer / prathyusha
Res=Add (20,30)
msgbox Res
Function Add (a,b)
c=a+b
Add=c
End Function
Res1= Mul (20,30)
msgbox Res1
Function Mul (a,b)
c=a*b
Mul=c
End Function
| Is This Answer Correct ? | 0 Yes | 0 No |
1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 how to find using vbscripting
Explain the difference between POST and GET Method.
When importing an excel file that has several columns each with different number of rows into QTP's Global datatable, how can you count the number of rows in a particular column?
3 Answers Logica CMG, McGraw Hill,
Write a Script for ATM in QTP
Why to use option explicit in vb script?
How to remove the spaces in a string Ex: "Welcome to QTPWorld" ?
how to set one column as primary key in QTP and fetch values accordingly
How to access array data?
how to find greatest of n numbers!
How do you write an SQL insert statement?
Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..
how to write basic programs in VB Script like addition, multiplication?