This commit is contained in:
Emmanuel Srivastava
2024-12-11 11:57:32 +01:00
parent 7bc0c88705
commit 6bcd12a191
24 changed files with 132 additions and 34 deletions

View File

@@ -0,0 +1,10 @@
#include <stdio.h>
#include "lightness.h"
int lightness(void) {
if (time(NULL)%2) {
return LIGHT;
} else {
return DARK;
}
}