Define a function PrintCity() that takes two stringparameters and outputs as follows, ending with a newline. Thefunction
Fantastic news! We've Found the answer you've been seeking!
Question:
Define a function PrintCity() that takes two stringparameters and outputs as follows, ending with a newline. Thefunction should not return any value.
Ex: If the input is Reading Albright, then the outputis:
Reading is the location of Albright College.
----------------------------------------------------------------------------------------------------------------------------------------------------------------
#include
using namespace std;
/* Your code goes here */
int main() {
string location;
string name;
cin >> location;
cin >> name;
PrintCity(location, name);
return 0;
}
Posted Date: