what is c nested loop clock funtion source code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • saadibaba
    New Member
    • Feb 2014
    • 1

    what is c nested loop clock funtion source code

    Code:
    #include<stdio.h>
    #include<conio.h>
    #include<dos.h>
    void main(void)
    {
    int i,j,k;
    gotoxy(40,12);
    for(i=1;i<=12;i++)
    {
    for(j=0;j<=59;j++)
    {
    delay(90);
    for(k=0;k<=59;k++)
    clrscr();
    printf("%d:%d:%d",i,j,k);
    delay(90);
    }
    }
    getch();
    Last edited by Banfa; Feb 4 '14, 01:16 PM. Reason: Added [code]...[/code] tags
  • Nepomuk
    Recognized Expert Specialist
    • Aug 2007
    • 3111

    #2
    Hi saadibaba and welcome to bytes.com!

    What exactly is your question? It seems to have something to do with nested loops but that's pretty much all I can say for sure.
    Also, when posting code please use [code]...[/code] tags - it makes code so much easier to read.

    Comment

    Working...