#define max(a,b) (((a)<(b))?(b):(a)) #define min(a,b) (((a)<(b))?(a):(b)) void wait(int timesec);