You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A new line with flag = 1; should be added at line 13 after the cout << " "; so that no extra space is added if 'WUB' is given more than one time in the input continuously.
A new line with flag = 1; should be added at line 13 after the cout << " "; so that no extra space is added if 'WUB' is given more than one time in the input continuously.