Изменить 'du3/program.c'
This commit is contained in:
parent
b7c267dfe2
commit
04445d4afa
@ -3,13 +3,13 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
int main() {
|
||||
char input[10];
|
||||
char input[11];
|
||||
char numbers[4];
|
||||
int date[3];
|
||||
int counter1 = 0, counter2 = 0;
|
||||
fgets(input, 10, stdin);
|
||||
fgets(input, 11, stdin);
|
||||
|
||||
for(int i = 0; i < 10; i++){
|
||||
for(int i = 0; i < 11; i++){
|
||||
if(!isdigit(input[i]) && input[i] != '.' && input[i] != '\n'){
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user