Since you're using non-standard headers, I think most people will have a hard time running your code. And without proper indentation, they'll have a hard time reading it.
To see if I'm understanding the code correctly, I'll repost part of it with comments:
// don't know what the loop conditions are for...
for(j=360;j>=0;j=j-5)
{
for(i=450;i>=0;i=i-5)
{
{
setcolor(4);
setbkcolor(0);
delay(50); // does this sleep for 50ms?
pieslice(290,250,i,i--,100); // draw second hand
setfillstyle(0,0);
floodfill(290,250,0);
circle(290,250,100);
{
delay(300); // sleep again?
pieslice(290,250,j,j--,50); // draw minute hand
}
}
}
}
The problem is that you'll draw the minute hand every time you draw the second hand. You need to move the innermost block into the outer for loop (after the inner loop), then possibly readjust your loop conditions. Pseudo-code:
for(/* ... */)
{
for( /* ... */ )
{
/* whatever to draw second hand goes here */
}
/* whatever to draw minute hand goes here */
}
That way the minute hand only gets updated when the second hand has gone all the way around. For the hour hand, do something similar with yet another loop encompassing these. ;)