Question: Store all possible quadruples selected from the integers 1, 2, 3, 16 in a 2-dimensional array named table. The total number of quadruples is 16

Store all possible quadruples selected from the integers 1, 2, 3, 16 in a 2-dimensional array named table. The total number of quadruples is 16 times 15 times 14 times 13/24 = 1820. Declare and instantiate table with 1820 rows and 4 columns. Load the table array. Unless you want to load all the 1820 rows by hand, use four nested for loops, loop counters k1, k2, k3, k4. As the loops run their course k1 k2 k3 k4 shall be assigned for the row elements in order. Limits to be used in the loop headers: 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
