// x^y=y^x // 12/22/19 Peter G. post // lrb // gcc yxxyr.c -o yxxyr -lm #include #include #include void main (void) { double p=2,y,x; while (p<1000) { y=pow((p+1)/p,p+1); x=pow((p+1)/p,p); printf("\n%.0lf %.4lf %.4lf",p,y,x); p+=1; } printf("\ndone!\n"); }