# include & ltstdio.h & gt
# define p(A)printf(" % d \ t % d \ t % d \ n ",mypow(A,1),mypow(A,2),mypow(A,3))
無效總管(無效)
{
int a,b,c;
int mypow(int,int);
Printf("輸入三個整數:");
scanf("%d%d%d ",& amp壹,& ampb & amp;c);
p(a);
p(b);
p(c);
返回;
}
int mypow(int a,int p)
{
for(int I = 1;p;p -)
I * = a;
返回I;
}