Aktualizovat "program.c

This commit is contained in:
Kristián Ruják 2019-03-13 22:35:47 +00:00
parent 1349382497
commit 96cc319e0c

View File

@ -3,7 +3,9 @@
int main() int main()
{ {
int y, m, d; int y;
int m;
int d;
scanf("%d.%d.%d", &d, &m, &y); scanf("%d.%d.%d", &d, &m, &y);
if(y>=0 && y<=9999) if(y>=0 && y<=9999)
{ {