Problem Statement: Write down macro definitions for the following: 1. To find arithmetic mean of two numbers. 2. To find…