Изменить 'du3/program.c'

This commit is contained in:
Oleksandr Hryshchenko 2021-03-18 17:27:15 +00:00
parent 0cc027b8a2
commit 977dc94359

View File

@ -4,7 +4,7 @@
#include <string.h>
int main() {
char input[11];
char* input = (char*) calloc(11, sizeof(char));
char numbers[4];
int date[3];
int counter1 = 0, counter2 = 0;
@ -51,7 +51,6 @@ int main() {
date[0] -= 28;
date[1]++;
}
date[2] /= 10;
printf("%d.%d.%d\n\n", date[0], date[1], date[2]);
return 0;
}