代码:
#include<stdio.h>
#define MAX(a,b) a>b?a:b
#define MIN(a,b) a>b?b:a
//#define M (x+Y)
#define M1(m) m*m
#define M2(m) (m)*(m)
#define M3(m) ((m)*(m))
int main(){int x,y,max,min;printf("Input one numbers:");int sum, m;scanf("%d", &m);printf("M1=%d,M2=%d,M3=%d\n",M1(m+1),M2(m+1),M3(m+1));printf("M1=%d,M2=%d,M3=%d\n",200/M1(m+1),200/M2(m+1),200/M3(m+1));return 0;
}
结果: