This is a while loop question for Information technology.
Write a structured algorithm to read the scores for a number of batsmen who played in a cricket match and the number of extras made by the team. Calculate and output the total runs made by the team. The data is terminated by entering 999.