ENTD261 Central Texas College VBS Script Project

User Generated

QnqqlFunex

Programming

Central Texas College

Description

Create a VBScript script (w2_firstname_lastname.vbs) that takes 3 parameters (numbers)

1) Print the sum of three numbers

2) Print the average of the three numbers

Optionally, you can save the results into a file “Results.txt” using the redirection operator or by creating the file in the script.

4) Make sure to include comment block (flowerbox) in your code.

5) Sample run:-

C:\entd261>cscript.exe w2_sammy_abaza.vbs 2 3 5 > results.txt

Submit your work in w2_firstname_lastname.txt (Please save the file as a text file and upload the text file here for final review.)

Requirements

Points

Comment block (flowerbox) with Instructions on how to run the code with examples.

20

Code documentation and comments.

10

Assignment code including creating command line parameter

70

TOTAL POINTS

100

User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Hey, you will find the code and explanation inside. Enjoy buddy!

1

Running header: VBS SCRIPT

VBS script
Students Name
Institution Affiliation

2

VBS SCRIPT

VBS script
The program screenshots are below:

VBS SCRIPT

Passing command line arguments in the editor:

3

VBS SCRIPT

The o...


Anonymous
Super useful! Studypool never disappoints.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4
Similar Content
Related Tags