Text: C++
Q2. Code, compile and upload the following program. Name it Q2.cpp. (30 pts) All submissions must compile without errors for grade evaluation.
Character extraction. Create a c-string that contains: "5,3,B,1,8,c,5,E,6."
a) Create a function sumDigits that returns the sum of all numbers within the c-string. Note that this will require type conversion (casting).
b) Create a function sumChars that returns a string object that contains the concatenation of all chars within the original c-string.
c) Output the integer sum and concatenated string to console.
Output Example: Sum of digits: 28, Sum of chars: BcE