function res = dicesum(score)
count = 0; %! Counts number of times sum matches \code{score}.
for die1 = 1:6
   for die2 = 1:6
      if score == die1+die2 %! Does the sum match?
         count = count+1;
      end
   end
end
res = count./36;