write a vbscript for finding the sum of the numbers from 1-
50
Answer Posted / kishore
dim n
n=inputbox("enter a number")
k=(n*(n+1))/2
msgbox k
| Is This Answer Correct ? | 10 Yes | 13 No |
Post New Answer View All Answers
1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.
What is Procedure or Subroutine in VB Script?
Explain the extension .hta?
How will you reverse a string in vbscript?
What are string functions in vbscript?
Out of the different type of operators, which are evaluated first and last in the vbscript language?
Explain about tristate constants in vbscript?
1. How do declare public variable in vb scripts?
what is event handling?
How should i Create Email invite with server-side Coding?
I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.
How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'
Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).
How are arrays declared in the vbscript language?
How to assign a numeric value to a variable?