Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- void printStatement()
- {
- string print_statement;
- cout << "Enter a phrase: " << endl;
- cin >> print_statement;
- cout << print_statement;
- }
- int main()
- {
- printStatement();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement