Advertisement
EconomicSerg

Untitled

Feb 2nd, 2021
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3.  
  4. using namespace std;
  5.  
  6. void printStatement()
  7. {
  8.     string print_statement;
  9.  
  10.     cout << "Enter a phrase: " << endl;
  11.     cin >> print_statement;
  12.     cout << print_statement;
  13. }
  14.  
  15. int main()
  16. {
  17.     printStatement();
  18. }
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement