fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. int N;
  7. cin >> N;
  8. for (int i=0; i<N; i++)
  9. {
  10. for (int j=0; j<N; j++)
  11. {
  12. cout <<"*";
  13. }
  14. cout <<"\n";
  15. }
  16.  
  17. return 0;
  18. }
Success #stdin #stdout 0s 15232KB
stdin
10
stdout
**********
**********
**********
**********
**********
**********
**********
**********
**********
**********