WQE
This commit is contained in:
parent
c26eb9d983
commit
768e1d5f04
BIN
du3/program
BIN
du3/program
Binary file not shown.
@ -9,7 +9,7 @@ int main(){
|
|||||||
char *endptr = NULL;
|
char *endptr = NULL;
|
||||||
double result = 0;
|
double result = 0;
|
||||||
int a;
|
int a;
|
||||||
for(int i = 0; i < SIZE; i++){
|
for(int i = 0; i < SIZE; ){
|
||||||
char* r = fgets(riadok,SIZE,stdin);
|
char* r = fgets(riadok,SIZE,stdin);
|
||||||
if(*r != '\n'){
|
if(*r != '\n'){
|
||||||
if(*r >= 65 && *r <= 122){
|
if(*r >= 65 && *r <= 122){
|
||||||
@ -22,7 +22,8 @@ int main(){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
double v = strtod(riadok,&endptr);
|
double v = strtod(riadok,&endptr);
|
||||||
vxod[a++] = v;
|
vxod[i++] = v;
|
||||||
|
a = i;
|
||||||
}else
|
}else
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user