Update 'cv3/program.c'

This commit is contained in:
Weber 2024-03-06 14:26:52 +00:00
parent bf051430c9
commit f390f2c984

View File

@ -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;