Update 'cv3/program.c'
This commit is contained in:
parent
bf051430c9
commit
f390f2c984
@ -7,7 +7,7 @@ int main() {
|
||||
char line[100];
|
||||
int valid = 1;
|
||||
|
||||
//tu sa halda x
|
||||
//tu sa hlada x
|
||||
if (fgets(line, sizeof(line), stdin) != NULL) {
|
||||
if (sscanf(line, "%f", &number) == 1) {
|
||||
array[repetitions] = number;
|
||||
|
Loading…
Reference in New Issue
Block a user