Advertisement
DEKTEN

HAITAMDRAGON/FIXED

May 26th, 2021
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. int main()
  4. {
  5.  
  6. int tic_tac_toe_table[5][19] =
  7. {
  8. {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
  9. {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0},
  10. {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0},
  11. {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0},
  12. {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
  13. };
  14.  
  15. for (int i = 0; i < 5; i++)
  16. {
  17.  
  18. for (int j = 0; j < 19; j++)
  19. {
  20. if (tic_tac_toe_table[i][j] == 1)
  21. {
  22. std::cout << "*" << "";
  23. }else{
  24. std::cout << " " << "";
  25. }
  26. }
  27.  
  28. std::cout << std::endl;
  29. }
  30.  
  31.  
  32. }
  33.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement