Initialization
This commit is contained in:
parent
ae457ca468
commit
be9051addf
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user