etonw

function to display where program begins and ends

May 31st, 2022 (edited)
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. //function to display where program begins and ends
  2. void message (string input) {
  3.  if (input== "begin") {cout << "\n\t\t\t\t\t\t\t= BEGIN PROGRAM =\n" << endl;}
  4.  if (input=="end") { cout << "\n\n\t\t\t\t\t\t\t~ End of Program ~\n" << endl;}
  5. }
Add Comment
Please, Sign In to add comment