Bob103

Таблица

Oct 26th, 2015
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main() {
  4. for(int i = 1; i <= 5; ++i) {
  5. for(int j = 1; j <i; ++j)
  6. cout << 2;
  7. cout <<3<< endl ;
  8. for(int j = 9-i+2; j <=9; ++j)
  9. cout << j;
  10. cout <<0<< endl;
  11. }
  12.  
  13. system("pause");
  14. return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment