Answer:
Mass number is a whole number because it is the sum of number of proton and number of neutrons whereas atomic mass is fractional because it is the average relative mass of its atoms as compared with mass an atom of C-12 isotope taken as 12.
hope it helps you