VBScripts
Pages
Home
VBScript Basics
VBScripts Examples
Monday, 10 October 2011
Script 1: Accept two numbers from the user and print the sum of two numbers.
Dim Sum
Number1 = CInt (InputBox ("Please enter the number 1"))
Number2 = CInt (InputBox ("Please enter the number 2"))
Sum = Number1 + Number2
Msgbox Sum
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment