Chapter 9. PC #8. 8. Sum of Numbers in a String (page 610) Writea program that asks the user to enter a series of numbers separatedby commas. Here are two examples of valid input: 7,9,10,2,18,68.777,10.9,11,2.2,-18,6 The program should calculate and displaythe sum of all the numbers. Input Validation 1. Make sure thestring only contains numbers and commas (valid symbols are ‘0’-‘9′,’-‘, ‘.’, and ‘,’). 2. If the string is empty, a messages should bedisplayed, saying that the string is empty.
Enter a series of numbers separated only by commas or type QUIT to exit:nThe sum of those numbers is 52.00nEnter a
PayPal Gateway not configured
PayPal Gateway not configured