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