I have amended some code as part of an assignment.
I am trying to return a productivity value and a message, the idea of the program is to pay a worker per part produced, this works, but for some reason, my productivity value is returned as 0 and string as null
I am leaving the parts as a double as the part is a final part so its a measure of final assembly ie 5.50 parts is 5 parts and 50 percent of a 6th . ie more assembly is needed for the 6th part.
I aim to tidy this up later I apologize for any sloppiness