Initialization

This commit is contained in:
Kozar 2024-03-07 12:44:16 +01:00
parent ae457ca468
commit be9051addf

View File

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