int a=4857 i need output as 7584.without using any inbuild
function?
Answer Posted / mogal
a = 4857
Do while ( a>0 )
num = a mod 10
a = a / 10
output = output & num
loop
print output
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to add actions in driver script to run those actions in QTP?
How many types of operators are available in the vbscript language?
Explain the functionality of vbscript?
Which function is used in the vbscript language to convert the specified expression into a date type value?
How to create a cookie using vbscript?
Can someone please tell me what poor design in a relational database (not the layout or style) is and how it can be avoided? PLEASE...im desperate.
When does ‘on click of button’ event gets triggered in the vbscript language?
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.
Can automation testing find ssame no. of bugs what we can find by manual testing?
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?
Hi Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...
What are events in the vbscript language?
Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?
who will create the object?