Question: I need a javascript program that works in JSFiddle with the javascript and the HTML code separated. The program has to complete the following tasks:

I need a javascript program that works in JSFiddle with the javascript and the HTML code separated. The program has to complete the following tasks:

There need to be 4 buttons that work as described in the HTML section:

1 button populates a list with 20 random values.

1 button sorts those random values with a merge sort algorithm.

1 button sorts those random values with a quick sort algorithm.

1 button allows the user to insert a STRING of values into the list (which can then be sorted again by the previous buttons).

The program must print the new list after each button is clicked.

Please comment if you need any clarification. Again, please make sure the program works in JSFiddle. I will be sure to pay close attention to the post and respond as quickly as possible. Thank you very much in advance for your help, I will be sure to rate the correct answer.

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!