This commit is contained in:
Yaroslav Orlianskyi 2022-03-18 15:39:50 +01:00
parent a8845d9bfc
commit 06934701de

View File

@ -9,6 +9,7 @@ int main(){
char *endptr = NULL; char *endptr = NULL;
float result = 0; float result = 0;
int a; int a;
memset(riadok, 0,SIZE);
for(int i = 0; i < SIZE; ){ for(int i = 0; i < SIZE; ){
char* r = fgets(riadok,SIZE,stdin); char* r = fgets(riadok,SIZE,stdin);
if(*r != '\n'){ if(*r != '\n'){