daily pastebin goal
39%
SHARE
TWEET

49

ArchiaterFaun Dec 7th, 2017 (edited) 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <bits/stdc++.h>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     string a;
  8.     cin>>a;
  9.     for (int i=0;i<a.size();i++)
  10.     {
  11.         for(int j=0;j<i;j++)
  12.             {
  13.                cout<<" ";
  14.             }
  15.             cout<<a[i]<<endl;
  16.         }
  17.  
  18.     return 0;
  19. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top