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