Mrm2299

Untitled

Jan 15th, 2014
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.51 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <iostream>
  4. using namespace std;
  5. int n1, n2, n3;
  6. float f1, f2;
  7. bool b1, b2;
  8. char* c1;
  9. char* c2;
  10.  
  11.  
  12.  int main()
  13.  {
  14.      c1 = "Lol al fin";
  15.      c2 = "seriously ve a dormir cowboy";
  16.  
  17.      n1=3;
  18.      n2=19;
  19.      f1=9.81;
  20.      f2=3.14;
  21.      b1 =(n1 + f1+ f2 > n2 && n1 + f1+ f2 < n2);
  22.      if(b1 == 0)
  23.      {
  24.          cout << c1 << "\n \n" << endl;
  25.      }
  26.      else
  27.      {
  28.          cout << c2 << "\n \n" << endl;
  29.      }
  30.  
  31. cin.get();
  32. return 0;
  33.  
  34.  }
Advertisement
Add Comment
Please, Sign In to add comment