
Please give me in c++ language.
3 THE STAR OUT PROBLEM Set result to a version of the given string, where for every star (“) in the input string the star and the chars immediately to its left and right are gone. So “ab*cd” yields “ad” and “ab”cd” also yields “ad”. for input of “ab”cd-“ad” for input of “abk*cd”-“ad” for input of “sm*eilly”-“silly” Show transcribed image text
Expert Answer
An answer
PayPal Gateway not configured
PayPal Gateway not configured