The programme in 1 i) computes and outputs the total number of loaves of bread sold, the total
money made, and the average number of loaves sold by each student. However, the programme
assumes that the programmer knows the exact number of volunteers. Now suppose that you do
not know the exact number of volunteers. Modify your programme in 1 i), assuming that the data
is in the following form: student’s index number followed by a space and the number of loaves
sold by the student. Since you do not know the exact number of volunteers, assume that -1 will
mark the end of the data.
1
Expert's answer
2020-05-20T01:58:52-0400
Dear kobbi, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment