A teenager died in a fatal shark attack after she was bitten on the upper body while swimming.