fork download
  1. #include <iostream>
  2. #include <string>
  3.  
  4. using namespace std;
  5.  
  6. void PrintLevel();
  7.  
  8. string lvl[5][4] {
  9. {"\u250f", "\u2501", "\u2501", "\u2513"},
  10. {"\u2503", "\u0020", "\u0020", "\u2503"},
  11. {"\u2503", "\u0020", "\u0020", "\u2503"},
  12. {"\u2503", "\u0020", "\u0020", "\u2503"},
  13. {"\u2517", "\u2501", "\u2501", "\u251B"}
  14. };
  15.  
  16. int main() {
  17. PrintLevel();
  18. }
  19.  
  20. void PrintLevel() {
  21. for(int i = 0; i<5; i++) {
  22. for(int j = 0; j<4; j++) {
  23. cout << lvl[i][j];
  24. if(j == 3) {
  25. cout << "\n";
  26. }
  27. }
  28. }
  29. }
Success #stdin #stdout 0s 4296KB
stdin
Standard input is empty
stdout
┏━━┓
┃  ┃
┃  ┃
┃  ┃
┗━━┛