Given a string in which words are separated by spaces, and two words a and b, interchange all occurrences of a and b. This comparison is case sensitive.

Complete the following file:

prog.cpp

#include <iostream> #include <string> #include <sstream> using namespace std; string swap_words(string s, string a, string b) {
}