Aktualizovat „du3/program.c“

This commit is contained in:
Bohdan Yanchyk 2020-03-26 22:24:53 +00:00
parent 49b6f69dfa
commit f4e2e5ec5c

View File

@ -6,8 +6,7 @@
int ValidateTime(int dd , int mm , int yy)
{
if(yy>=1900 && yy<=9999)
{
//check month
if(mm>=1 && mm<=12)
{
@ -28,10 +27,7 @@ int ValidateTime(int dd , int mm , int yy)
return 0;
}
}
else
{
return 0;
}
}
int main()