Advertisement
Guest User

Not sure if ez

a guest
Aug 15th, 2015
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3. #include <cstdio>
  4.  
  5. using namespace std;
  6.  
  7. int main()
  8. {
  9.     string dot = ".";
  10.     for (short i = 0; i < 20; i++)
  11.     {
  12.         printf("%*s\n", 20 + i, dot.c_str());
  13.         dot += "..";
  14.     }
  15.     system("PAUSE");
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement