Aktualizovat „du3/program.c“
This commit is contained in:
parent
f2a6db5248
commit
badf37c546
@ -23,7 +23,7 @@ int main()
|
||||
int hour = 0, min = 0, secs = 0;
|
||||
|
||||
fgets(dateStr, 11, stdin);
|
||||
sscanf(string , "%d:%d:%d" , &hour,&min,&secs);
|
||||
sscanf(dateStr , "%d:%d:%d" , &hour,&min,&secs);
|
||||
if(!ValidateTime(hour,min,sec)){
|
||||
printf("Nespravny datum\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user