Initialization
This commit is contained in:
parent
5dcf86b44b
commit
dfa083a309
@ -12,7 +12,7 @@ int main() {
|
|||||||
double result = 0.0;
|
double result = 0.0;
|
||||||
|
|
||||||
while (count < SIZE) {
|
while (count < SIZE) {
|
||||||
if (scanf("%lf", &input) != 1 && input == '\n') {
|
if (scanf("%lf", &input) != 1 && input != '\n') {
|
||||||
printf(":(");
|
printf(":(");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user