Create a simple command line program that simulates the


Question: Create a simple command line program that simulates the rolling of a pair of six sided dice a user given number of times. The number of times to roll the pair of dice should be read as input from the argv array on the command line. The result of each roll should be stored in a struct with at least two int fields: dice01 and dice02.

As the structs are created they need to be stored in an ordered linked list (ordered by the total). After the last roll, process the list of rolls and count how many times each result occurred. The output should cover the two impossible (for 6 sided dice) results of 1 and 13. After the calculated results are displayed, print out the entire list of rolls showing the roll count, the value of each dice, and finally the total.

An example of running the program from the command line might be:

Can someone demonstrate me how to write a proper code for this problem and how to complete it. Thanks

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Create a simple command line program that simulates the
Reference No:- TGS0956986

Expected delivery within 24 Hours