write a vb script to find simple interest using functions

Answer Posted / mudaseer

sub si(p,t,r)
dim si
si=p*t*r/100
msgbox si
end sub
call si(10,10,1)

Is This Answer Correct ?    23 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

For a webbased application:- what should be code in expert veiw, for retrieving a single column name "username" from a server and checking whether exported "username" from datatable doesn't exist in server. suppose i have saved in excelsheet a username="gayatri" , which is exported, then checked for whether this username "gayatri" exist in server database or not ? if exist then allow to enter new username, which should be again checked for in loop , or else come out of loop and enter a distinct "username". plz let me have this answer in my id gayatrisahooin@hotmail.com

1758


Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji

1247


How will you get the last occurrence of one string within another string using vbscript?

691


Can automation testing find ssame no. of bugs what we can find by manual testing?

1474


How to write VB script for login module?

2678






I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?

1553


What purpose does ‘on error resume next’ serves?

553


can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.

1844


Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.

1574


Explain about .wsf files?

624


Which operator is used to perform the comparison among 2 operands in the vbscript language?

532


hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?

1791


how does vb script help in web page designing? explain with example.

1590


If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?

538


How to assign a numeric value to a variable?

625