All pastes #31366 Raw Edit

Inj3ction

public text v1 · immutable
#31366 ·published 2005-11-27 01:10 UTC
rendered paste body
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include <time.h>
      int hour=0,minute=0,second=0;
int time (int x)
{
     while (x<=60)
     {
           time(100);
           x++;
           return x;
           system("cls");
           if (while(0)) min(minute);
           }
           }
int min(int m)
{
           while(m<=60)
           {
                       m++;
                       system("cls");
                       return m;
                       time(second);
                       if (m==60) hr(hour); 
                       }
                       }
      int hr(int h)
      {
             h++;  
                   system("cls");
                   return h;
                   time(second);
                   }

main()
{
      seconds:
              {
              time(second);
              }
      minutes:
              {
              min(minute);
              }
      hours:
            {
            hr(hour);
            }
      while(1)
      {
      printf("%d:%d:%d", hr(hour),min(minute),time(second));
      }
      }