Write the compound statement in symbols

Let r= The food is good p= I eat too much q= I'll exercise

If the food is not good, I won't eat too
much.

The compound statement can be written using the following symbols:

r: The food is good
p: I eat too much
¬r: The food is not good
¬p: I won't eat too much

The compound statement can be written as:
If ¬r, then ¬p.