You are viewing a single comment's thread. Return to all comments →
Java:
pointsAlice = ((a0>b0)?1:0)+ ((a1>b1)?1:0)+ ((a2>b2)?1:0) ; pointsBob = ((a0<b0)?1:0)+ ((a1<b1)?1:0)+ ((a2<b2)?1:0) ; System.out.println(pointsAlice+" " +pointsBob);
Compare the Triplets
You are viewing a single comment's thread. Return to all comments →
Java: