In the attached file I need to modify the remove_item() function so that when an items quantity reaches zero it is completely eliminated.

Task scenario and Instructions:

Currently, when an item in the inventory is removed, it simply decrements its quantity. There is no mechanism in place to completely get rid of items. Take a look at the remove_item() function, and figure out how you can modify it to completely eliminate items from the array when their quantity reaches zero.

In the attached file I need to modify the removeitem function so that when an items quantity reaches zero it is completely eliminated Task scenario and Instruct class=