5. (10 pts) For the 24–point game, introduced in Programming
Exercise 25.7, write a program to find out the success
ratio for the 24–point game, i.e., number of picks with
solutions / number of all possible picks.
Hints:
1. Assume the following method is given:
2. Create 52 cards as
3. Write the code that produces all combinations of picking
four numbers from the deck.
4. Count the ones that have no solutions.
6. (10 pts) Write a method to multiply two matrices and
analyze its complexity. The header of the method is as
follows:
public static double[][] multiplyMatrix(double[][] a, double[][] b)
To multiply matrix a by matrix b, the number of