#include <stdlib.h>
#include <time.h>
{
time_t t; //you will find the statement "typedef long time_t;" in time.h
time_t start, end;
struct tm *ptr; //you will find the definition of struct tm in time.h
ptr = localtime(&t); //you will find the definition of localtime() in time.h
time(&end);
{
static int temp = 0;
if(temp != end - start)
{
printf("%d ", 3 - (end - start));
temp = end - start;
}
time(&end);
putchar(8);
}
}
















