This one’s pretty straightforward. Look at the diagram below.
First, fill in the question marks with the appropriate die face and missing numbers.
Next, code a simulation of this problem in PHP. Your solution should accept user input for the size constraints of a two-dimensional array, and output a randomly generated field of dice faces, along with tabulating the value of each row, column, and diagonal.
Email your submission to
jobs@boylstontech.com.