Skip to content
Snippets Groups Projects
Commit 37d83a7a authored by florian.burgener's avatar florian.burgener
Browse files

Update ex1

parent 4925e2f4
Branches
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ int main() {
scanf("%d", &value);
values[i] = value;
}
int32_t drop_count = 0;
int32_t drop_sum = 0;
......@@ -35,7 +35,7 @@ int main() {
drop_sum += values[i - 1] - values[i];
}
}
printf("\n%d %d\n", drop_count, drop_sum);
return EXIT_SUCCESS;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment