Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  save
Language: C/C++
Code:
#include <stdio.h>
#include <string.h>
#include<windows.h>

int main()
{
   int h,m,s;
   for(h=1;h<=12;h++)
   {
       for(m=1;m<=59;m++)
       {
           for(s=1;s<=59;s++)
           {
              int gotoxy(8,8);
               printf("hour min sec is:",h,m,s);
               int gotoxy(8,9);
               printf("%d,%d,%d",h,m,s);
               sleep(1);
           }
       }
   }
}

          
          
          
          
          
Comments: