#include #include int power( int x, int y ) { return( pow(x,y)); } main( int argc, char *argv[]) { int x,y,res; if (argc!=3) { fprintf(stderr,"Usage: power num topower\n"); exit(0); } x = atoi(argv[1]); y = atoi(argv[2]); res = power(x,y); printf("%d raised to the %d power is %d\n",x,y,res); return(0); }