Skip to content

Commit b4890ec

Browse files
committed
Make output friendlier for users
Add line break so text is readable and add a 2 second delay between messages so it does not scroll too fast.
1 parent 2cbe27b commit b4890ec

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

demo.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ int main()
88
{
99
for(;;)
1010
{
11-
printf("Hello world!");
11+
printf("Hello world!\n");
12+
sleep(2);
1213
}
1314
return 0;
1415
}

0 commit comments

Comments
 (0)