Computer science scripting assignment | Computer Science homework help

  

Instructions

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

1) Print the product of three numbers

2) Print the sum of the three numbers

3) Print the average of the three numbers

Optionally, you can save the results into a file “Results.txt” using the redirection operator “>” see sample run below.

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 week 2 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

Next Question  

1. There are various selection structures that can be used in programming. What are the different relational operators used in selection structures? Provide an example of an if-then-else statement that can be used in a script that performs a system administration task.

Calculate Your Essay Price
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more