Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2014
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.37 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. void readIn() { cout << "readIn()\n"; }
  4. void sort() { cout << "sort()\n"; }
  5. void compact() { cout << "compact()\n"; }
  6. void print() { cout << "print()\n"; }
  7. int main()
  8. {
  9.     int cout = readIn();
  10.     if (coat > 1) {
  11.         sort();
  12.         compact();
  13.     }
  14.     if (coat == 0);
  15.     cout << "Продаж небыло\n";
  16.     else
  17.         print();
  18.  
  19.     return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement