#include #include main() { int i; time_t time_start,time_stop,t1,t2,t3,t4; (void) time(&time_start); for (i=1;i<=30000;++i) printf("%d %d %d\nn",i, i*i, i*i*i); (void) time(&time_stop); printf("n Time to do 300 squares and cubes= %d seconds\n", (int) time_stop-time_start); }