The memory card can hold a total of 400 pictures. Just divide the number of pictures Melcher took by the percent of memory it took.
Also, percent means out of a hundred, so 24% means 24/100= 0.24. Just do 96 ÷ 0.24 = 400 total pictures that the memory card can hold.