Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- #include <cstdio>
- using namespace std;
- int main()
- {
- string dot = ".";
- for (short i = 0; i < 20; i++)
- {
- printf("%*s\n", 20 + i, dot.c_str());
- dot += "..";
- }
- system("PAUSE");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement