Was macht x = (a
x = (a < b)? a : b; 
// This is equivalent to the code:

if (a < b){
  x = a; // true
}else{
  x = b; // false
} 

gary lui