Write a while (or do-while loop) loop to get user’s input of…
Write a while (or do-while loop) loop to get user’s input of test scores. Keep track the total score and number of scores entered. When user enter -1, the loop finished and print out the average score. Declare and initialize variables as needed.