相关代码 |
|
#include "stdio.h" #include "15rhap.c" #include "3rnds.c" main() { int i,j; double p[100],r0,*r,*s; r0=5; r=&r0; s=p+30; rnds(r,p,100); for (i=0; i p[i]=100.0+200.0*p[i]; printf("\n"); for (i=0; i { for (j=0; j printf("%7.3f ",p[10*i+j]); printf("\n"); } printf("\n"); rhap(s,50); for (i=0; i { for (j=0; j printf("%7.3f ",p[10*i+j]); printf("\n"); } printf("\n"); }
相关资源 |
|