Advertisement
Mad_maria

Mini Challenge 1 Truth Revealed w/ Mad Maria

Mar 21st, 2015
709
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.89 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3. #include <vector>
  4. #include <cstdio>
  5.  
  6. /* madmaria the c++ newbie */
  7.  
  8. int main()
  9. {
  10.     std::string Illuminati_Member = "^";
  11.     unsigned int Ben_Confirmed, The_Truth, Revealed;
  12.     std::cout << "I have reason to believe that this cunning mastermind has been fooling\nprogrammers into making illuminati symbols to fuel his time machine under the\nguise of a" <<\
  13.     "\"tutorial\"\. Now tell me and be honest.\n\nFor how many years has Ben been a part of the illuminati!?" << std::endl;
  14.     std::cin >> Ben_Confirmed;
  15.     The_Truth  = Ben_Confirmed;
  16.     Revealed = Ben_Confirmed+1;
  17.  
  18.  
  19.     printf("%*s\n", Revealed, Illuminati_Member.c_str());
  20.  
  21.     for (;The_Truth > 0;){
  22.     printf("%*s", Ben_Confirmed, Illuminati_Member.c_str());
  23.     Illuminati_Member+="^";
  24.     printf("%*s \n", 0, Illuminati_Member.c_str());
  25.  
  26.     --The_Truth;
  27.     }
  28.     return 0;
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement