Advertisement
Guest User

Untitled

a guest
Jan 28th, 2020
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. void loveAnia() {
  5.     cout << "Love Ania!" << endl;
  6. }
  7.  
  8. void breakUpWithAnia() {
  9.     cout << "Breaking up :<" << endl;
  10. }
  11.  
  12. int main ()
  13. {
  14.     int duration = 0;
  15.     while(duration < 10)
  16.         loveAnia();
  17.         duration++;
  18.  
  19.     breakUpWithAnia();
  20.     cout << "Hello World! ";
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement