Advertisement
Guest User

Untitled

a guest
Jan 31st, 2015
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.19 KB | None | 0 0
  1. void someFunction()
  2. {
  3.     int userInput;
  4.     cin >> userInput;
  5.  
  6.     for (int i = 0; i < userInput; i++)
  7.     {
  8.         for (int j = 0; j < userInput; j++)
  9.         {
  10.             cout << i;
  11.         }
  12.         cout << endl;
  13.     }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement