Advertisement
Treyzania

cocochipguy

Dec 9th, 2017
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.82 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. /* Justin 12/8/17 This is a challenge for C++ programming, make 5 char, booleans, integers, doubles, and floats */
  6.  
  7. int main() {
  8.     char a('a');
  9.     char b('b');
  10.     char c('c');
  11.     char d('d');
  12.     char e('e');
  13.     bool THIS_IS_A_BOOLEAN(true);
  14.     bool THIS_IS_ALSO_A_BOOLEAN(false);
  15.     bool THIS_IS_THE_LAST_BOOLEAN(true);
  16.     bool THIS_IS_ANOTHER_BOOLEAN_I_LIED(true);
  17.     bool I_DONT_KNOW_WHAT_A_BOOLEAN_IS(false);
  18.     int ROBLOX(9);
  19.     int MINECRAFT(88);
  20.     int CSGO(6);
  21.     int FARCRY4(8);
  22.     int MONEY(100);
  23.     double LIFE(1000000);
  24.     double STUFF(1000000000);
  25.     double THINGS(1000002);
  26.     double MORESTUFF(99999999);
  27.     double NOMORE(9999999999999999);
  28.     float MAGIC(1.11);
  29.     float ITEMS(2.33);
  30.     float MOREMORESTUFF(2.333);
  31.     float floats(2.345);
  32.     float oof(2.3333);
  33.     cout << MONEY << endl;
  34.     return 0;
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement