Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdlib>
- using namespace std;
- int main()
- {
- int some = 1;
- int some2 = 0;
- for (int i = 40; i > 0; i -= 1.5)
- {
- printf("%*c", i / 2 , ' ');
- while (some > some2)
- {
- printf("%c", '.');
- some2++;
- }
- some += 2;
- some2 = 0;
- cout << '\n';
- }
- system("PAUSE");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement