Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- array (size=8)
- 'F' => int 5
- 'N' => int 4
- 'I' => int 4
- 'P' => int 4
- 'S' => int 3
- 'J' => int 3
- 'E' => int 3
- 'T' => int 2
- if(I > E) {
- first key = I;
- and second key = E;
- } else {
- first key = E;
- and second key = I;
- }
- if(N > S) {
- third key = N;
- and fourth key = S;
- } else {
- third key = S;
- and fourth key = N;
- }
- if(T > F) {
- fifth key = T;
- and sixth key = F;
- } else {
- fifth key = F;
- and sixth key = T;
- }
- if(P > J) {
- seventh key = P;
- and eight key = J;
- } else {
- seventh key = J;
- and eight key = P;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement