Advertisement
Tec4Gen

Untitled

Nov 12th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #include<iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6. int i = 41;
  7. int j = i;
  8. while (i <= 71) { //цикл отвечающий за строки
  9.  
  10. while (j <= i + 9) { //цикл отвечающий за счет от 40-50 и т.д
  11. cout << j << " ";
  12. j++;
  13. }
  14. cout << endl;
  15. i += 10;
  16. }
  17. system("pause");
  18. return 0;
  19.  
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement