Rockman_Z

Untitled

Jan 30th, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.27 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     double aVar, bVar;
  8.     cout << "Enter 2 variables:" << endl << "a = ";
  9.     cin >> aVar;
  10.     cout << endl << "b = ";
  11.     cin >> bVar;
  12.     bool b;
  13.     cout << (bVar == aVar) << endl;
  14.     return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment