Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a Power Shell script that does the following: 1) Asks the user to input the size array $ArraySize to enter students marks 2) Display

Write a Power Shell script that does the following:

1) Asks the user to input the size array $ArraySize to enter students marks

2) Display the size of array of in message box with OK and Cancel button

3) If the user wants to change the array size he/she clicks Cancel, then he/she is asked to input the size of the array $ArraySize again

4) If the user clicks OK, he/she is asked to enter student marks $StudentMark

5) Check if $Count <= $ArraySize

6) Calculate Average Marks for class and display output in Message box

7) Request user if he/she wants to change a mark using Message box with YES NO button

8) If user clicks Yes button, ask user to input which student mark to change

9) Calculate new average mark and display new output in Message Box and end the program

10) If user clicks No button, end the program

Thank you

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database Foundations Technology Fundamentals For IT Success

Authors: Bob Bryla

1st Edition

0782143725, 9780782143720

More Books

Students also viewed these Databases questions