Djaa9

Untitled

Jan 9th, 2013
446
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // conditional operator
  2.  
  3. #include <iostream>
  4. using namespace std;
  5.  
  6. int main ()
  7. {
  8.   int a,b,c;
  9.  
  10.   a=2;
  11.   b=7;
  12.   c = (a>b) ? a : b;
  13.  
  14.   cout << c;
  15.  
  16.   return 0;
  17. }
RAW Paste Data