Does Team Rocket's Meowth's attack still work even if it's knocked out?

A Pokemon that requires multiple coin flips to determine damage will not do it's damage in parts.  What happens is all the damage gets tabulated by all the coin flips, and then is all done in one fail swoop.  So, it is not possible for Meowth to get knocked out before it does it's damage.

Scott