fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6. cout<<" | | "<<endl;
  7. cout<<"-----------"<<endl;
  8. cout<<" | o | "<<endl;
  9. cout<<"-----------"<<endl;
  10. cout<<" o | | x "<<endl;
  11.  
  12.  
  13.  
  14. return 0;
  15. }
Success #stdin #stdout 0.01s 5276KB
stdin
Standard input is empty
stdout
   |   |   
-----------
   | o |   
-----------
 o |   | x