Write a program that contains macros with arguments that calculates the area of various geometric shapes (e.g., square, rectangle, circle).
My solution:
#include <stdio.h>
#define SQ(a) (a) * (a)
#define REC(a,b) (a) * (b)
#define CIR(r) 3.14 * (r) * (r)
main () {
printf("%d\n", SQ(67));
printf("%d\n", REC(8,9))...