I need my program to display the expected and actual percentages of how often the sums of two dice appear. I can't get the expected percentages to display the array, it always comes out as 0. I am not sure how to calculate the actual percentages using the random values.
I expect the output to show as decimals or as fractions, but I only get zeros.