Quote Originally Posted by carpeltunnel View Post
The assignment is to create a comman line program that accepts the user input to roll two die. Then the program should take the amount roll randomly and display the sum of how many times each number was rolled (i.e. 1 = 0 2 =1... 12 =2) and then the value of each roll (i.I e. 1= 8 2 = 12 etc...).
That's easily done by starting with a zeroed array and for each roll, using the total as an index to increment that value in the array

Quote Originally Posted by carpeltunnel View Post
I am a little stuck as my program stands it should randomnly roll the dice and then go into a linked list.
Is this an assignment requirement or your own? IMO, a linked list is major overkill for this task.