Initialization

This commit is contained in:
Kozar 2024-03-05 11:59:08 +01:00
parent 5dcf86b44b
commit dfa083a309

View File

@ -12,7 +12,7 @@ int main() {
double result = 0.0;
while (count < SIZE) {
if (scanf("%lf", &input) != 1 && input == '\n') {
if (scanf("%lf", &input) != 1 && input != '\n') {
printf(":(");
break;
}