COSC 311 Homework 11/15 Distributed: 11/15/2017 Due: 11/29/2017 Write a Java program that has two user-supplied (at run-time) inputs: d -- this is the number of 6-sided (fair) die n -- this is a threshold value One roll of the dice produces a value which is the sum of each die. For d and n, how many combinations (rolls of d dice) produce sum >= n? Example: d = 2, n = 10. There are 4 rolls that equal or exceed the threshold: 5, 5 6, 5 5, 6 6, 6 Output: Echo d and n values Output the number of combinations that are >= n (do not output the actual combinations) Output the time required to compute answer for given d, n Constraints: (1) URL of source files must appear in file header (2) No more than 5 lines of reasonable comments Turn in: (1) Source code (2) Screen shot on runs for: d n --------- 2 10 10 50 20 100 50 250 100 500 (3) Graph of time (y axis) versus d (x-axis). Points taken off for: (1) Doesn't work (2) Failure to meet constraints (3) Code does not match output (4) Ugly or difficult to understand code (5) No graph.