Advertisement
Lucky134Lucky

Cycles.D.III

Feb 8th, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5.  
  6. int main()
  7. {
  8. int z;
  9. cin>>z;
  10. for(int i = 0; i< z ; i++) {
  11.  
  12. for (int f = 0; f < i; f++) {
  13.  
  14. cout<<" ";
  15. }
  16. for (int f = i; f < z; f++) {
  17.  
  18. cout<<"*";
  19. }
  20. cout<<endl; }
  21. return 0;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement