Prolog exercise

Will it sink or will it float?

Sign in to hand in your solution and get feedback.