1234567891011121314
#include<time.h> int main() { double t = clock(); while(t < 360) { //my code including for loop } }
12
while (t / CLOCKS_PER_SEC < 360) { ... }