write a vbscript for finding the sum of the numbers from 1-
50
Answers were Sorted based on User's Feedback
Answer / jethva_trupti
<html>
<body>
<script type="text/vbscript">
dim n,i,sum
sum=0
i=1
n=5
do while (i<=n)
sum=sum+i
i=i+1
loop
document.write(sum)
</script>
</body>
</html>
| Is This Answer Correct ? | 60 Yes | 15 No |
Answer / ankita
dim i ,n ,sum as integer
n=50
sum=0
for i=1 to n
sum=sum+i
msgbox("sum of 1 o 50 no. =" +sum)
next
| Is This Answer Correct ? | 19 Yes | 7 No |
Answer / kishore
dim n
n=inputbox("enter a number")
k=(n*(n+1))/2
msgbox k
| Is This Answer Correct ? | 10 Yes | 13 No |
write a vbscript for traffic signal
How to map test cases with Automation script? Please explain in details.With example Thanks for your co-operation(In Advance)
Like OPTION EXPLICIT statement what are the other statements used in vbscript and their usage. Please post me all the statements please.
If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?
How to Import data from a file (file is on the desktop) to the data table
w r p syed then output was deys and click eysd and click ysde and click sdey and click deys and click eysd............
What is the technology used by vb script?
How to select a value from a list box by using Selenium web-driver?
How will you generate Reports using Vb Script?it asked in testing(QTP)Interview.Plz Any Body Let me know. Thanks uday Uday_testing@yahoo.co.in
Mention what if you do not specify anything when you call a procedure?
How do i automate a website www.flyashx.com without having any test cases witin a week time.
What is a class in CSS?