Answer:
Following is the C++ code for the question given :-
#include <iostream>
#include<string>
using namespace std;
int main() {
string s1,s2;//two strings to store the words.
cin>>s1;//Input statement.
cin>>s2;//Input statement.
cout<<s1<<" "<<s2<<endl;//printing both words in one line separated by space.
return 0;
}
Input:-
make
choices
Output:-
make choices
Step-by-step explanation:
I have taken two strings two store two words.After taking the input I have printed both the strings which contains the words entered by the user separated by space.