This commit is contained in:
Yaroslav Orlianskyi 2022-03-18 14:21:15 +01:00
parent b3a4c80748
commit be2253db08

View File

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