Question: w Write a script which will accept 2 numbers and calculate for their product (NOTE: product is the result of multiplication). If the product is

 w Write a script which will accept 2 numbers and calculate

w Write a script which will accept 2 numbers and calculate for their product (NOTE: product is the result of multiplication). If the product is positive, ask the user to enter a letter, directory name and file name. Based on the entered letter, use a case structure to implement the tasks on the given table below. Letter Tasks Display a list of the files and directories under your working directory, including the hidden files Move the entered file to the entered directory t Display the last 20 lines of the entered file d Delete the entered directory otherwise Display the message "Input is not in the list" Otherwise, display the message "The product of the two numbers is not positive". (6 Marks) m

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!