This commit is contained in:
ada-dmitry
2023-11-18 21:17:47 +03:00
parent 1bbd6527b8
commit a3c32e3438
17 changed files with 147 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
#include <stdio.h>
void min2time(int mm, int *ph, int *pm)
{
*ph = (mm / 60) % 24;
*pm = (mm - ((mm / 60) % 24) * 60) % 60;
}