Initialization

This commit is contained in:
Kozar 2024-03-05 11:50:38 +01:00
parent 3c152db64c
commit 7a0a97a848

View File

@ -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;
}