Example 57: Angle Conversion
Write macro definitions for the following and use them in
- DEGREES: Converts radians into degrees
- RADIANS: Converts degrees into radians
- ODD: Rounds a number up to the nearest odd integer
- EVEN: Rounds a number up to the nearest even integer
Given below is our recommended way to approach this problem.