Tuesday, April 27, 2010

Assignment

1.
'Complete the following code to display whether a number is
'a. Less than 0
'b. Between 0 and 10
'c. Between 11 and 100
'd. Greater than 100
'
'Display the result as the following example where 20 is the input
' 20 is between 11 and 100

Dim numInput
numInput = InputBox("Please enter a number")


2.
'Write VBScript code to display the following in 1 message box
'
'Day: 12
'Month: February
'Year: 2010

3.
'Write VBScript code to display the size of your C drive

Labels: ,