Design an algorithm that will prompt for, receive and total a collection of payroll amounts
entered at the terminal until a sentinel amount of 999 is entered. After the sentinel has
been entered, display the total payroll amount to the screen.
entered at the terminal until a sentinel amount of 999 is entered. After the sentinel has
been entered, display the total payroll amount to the screen.