This is my first time writing a loop for a program and I cannot get an output I want so that my following function works. I have to write a loop that reads the amount of hours an employee works each day for five days. I am able to run the loop, have the inputs put in, and it gives a total. However, when I go to test the gross payment, it says that the total gross pay is "Inf". I don't really know how to fix it, even after all the research I did.