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 “>” 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.)
Please refer to the attached sample solution file, w2_first_lastName.txt, for help.
Explanation & Answer:
User generated content is uploaded by users for the purposes of learning and should be used following Studypool’s honor code & terms of service.