Question: Based on Linux and Shell Script. Use https://www.jdoodle.com/test-bash-shell-script-online/ and do some research on using arrays in shell script file to use an array to store
Based on Linux and Shell Script. Use https://www.jdoodle.com/test-bash-shell-script-online/ and do some research on using arrays in shell script file to use an array to store 5 numbers inputted by the user then write them on the screen.
1. Use a loop to read numbers from user. (1 mark)
2. Print on the screen the array contents immediately after the loop using only one statements i.e. do not use another loop to write the array content
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
