Answer:
My friend wants to use my findSmallest() function in her program. Is this function ready to be shared in a library? Why or why not? This is the answer to the next question.
Step-by-step explanation:
No, this code is not ready to be shared in a library. This is because this code has a global variable that will only allow the code to work for one case and cannot be applied to other problems my friend might have. This function also does not have a return call which will result in no answer when fed with an input.