Zahid iLab4

# Zahid iLab4 - Date Name:ZeeshanZahid LabNumber:4...

This preview shows pages 1–7. Sign up to view the full content.

Date: 07/31/2011 Name: Zeeshan Zahid Lab Number: 4 Exercise # 1 Source Code and Screen Shot of the output  (10 Points) 'programmer: Zeeshan Zahid 'created on 7/31/2011 'purpose: Demonstrates AND-Logic, continues to ask for input until user enters a negative number option explicit dim x x = inputbox("enter a number or a zero to exit:") do while x > 0 if x > 10 AND x < 25 then else if x >= 25 then end if end if X = inputbox("enter a number or a zero to exit") Loop

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Exercise # 2 Source Code and Screen Shot of the output  (10 Points) 'programmer: Zeeshan Zahid 'created on 7/31/2011 'purpose: Demonstrates AND-Logic, continues to ask for input until user enters a negative number option explicit dim x x = inputbox("enter a number or a zero to exit:")

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
do while x > 0 if x = 50 OR (x > 60 and x < 65) then end if x = inputbox("enter a number, enter zero to exit:") loop

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Exercise # 3 Source Code and Screen Shot of the output  (10 Points) 'programmer: Zeeshan Zahid 'created on 7/31/2011 'purpose: creates a shortcut on my desktop to internet explorer Dim objShell, strDir Set objShell = CreateObject("wscript.Shell") strDir = objShell.specialFolders("desktop")
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 01/15/2012 for the course COMP 100 taught by Professor Daily during the Spring '08 term at DeVry Addison.

### Page1 / 9

Zahid iLab4 - Date Name:ZeeshanZahid LabNumber:4...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online