write a vb script to print even numbers from 1-50?
Answers were Sorted based on User's Feedback
Answer / smitha
for i = 1 to 50
if i mod 2 = 0 Then
evenStr = evenstr & i & " , "
end if
Next
MsgBox evenStr
| Is This Answer Correct ? | 34 Yes | 20 No |
Answer / alam
Num i
for i =1 To20
if mod 2=0
print number is evevn
else
print number is not even
end sub
| Is This Answer Correct ? | 4 Yes | 10 No |
Answer / nazir
dim i
for i = 1 to 50
if i mod 2 = 0 then
print i & ' is an even number"
else
print i & " is an odd number"
endif
next
| Is This Answer Correct ? | 10 Yes | 17 No |
Answer / pradeep
For i=1 to i=50
if (i mod 2=0)then
messagebox i&"is even number"
else
messagebox i&"is odd number"
endif
next
| Is This Answer Correct ? | 23 Yes | 36 No |
I dont know how to configure non standard objects to standard objects in QTP9.2 can i have someone explain me in breify?
what happen in object repository(shared)if we call an existing action from an external action ? and what happen in object repository(peraction)if we call an existing action from an external action ?
Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()
What are the drawbacks of QTP?
Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya
how to create flat file datasubmission in qtp
what is object repository?
What is Modular framework and Keyword drive framework? Explain
The Senario is Steps to do 1.Entered userid in textbox 2.saved with details 3.i want to open user which i have created its in hurry.....
how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.
Is the provision for integrating QTP with QC ,available from the version 9.0 onwards only or even 8.2 version has such provisions?
hello, i just started searching for a job on QA ,need QTP software full version.plz can any body help me...my email id is padma_ub@yahoo.com.thanks in advance.