Advertisement
KeeganT

Well Done

Nov 9th, 2017
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.92 KB | None | 0 0
  1. #include <iostream>
  2. #include <windows.h>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8.     system("color 0a");
  9.     char wellDone[11][18]{
  10.     {1,0,0,0,1,0,1,1,1,0,1,0,0,0,1,0,0,0},
  11.     {1,0,0,0,1,0,1,0,0,0,1,0,0,0,1,0,0,0},
  12.     {1,0,1,0,1,0,1,1,1,0,1,0,0,0,1,0,0,0},
  13.     {1,0,1,0,1,0,1,0,0,0,1,0,0,0,1,0,0,0},
  14.     {0,1,0,1,0,0,1,1,1,0,1,1,1,0,1,1,1,0},
  15.     {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
  16.     {1,1,0,0,1,1,1,0,1,0,0,1,0,1,1,1,0,1},
  17.     {1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,0,0,1},
  18.     {1,0,1,0,1,0,1,0,1,0,1,1,0,1,1,0,0,1},
  19.     {1,0,1,0,1,0,1,0,1,0,0,1,0,1,0,0,0,0},
  20.     {1,1,0,0,1,1,1,0,1,0,0,1,0,1,1,1,0,1}
  21.     };
  22.     for(int c=0;c<11;c++)
  23.     {
  24.         for(int x=0;x<18;x++)
  25.         {
  26.             switch(wellDone[c][x])
  27.             {
  28.                 case 0: cout<<" ";
  29.                 break;
  30.                 case 1: cout<<char(219);
  31.                 break;
  32.             }
  33.         }
  34.         cout<<endl;
  35.     }
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement