tracks/c/exercises/sum-of-multiples/src/example.c in trackler-2.0.0.5 vs tracks/c/exercises/sum-of-multiples/src/example.c in trackler-2.0.0.6
- old
+ new
@@ -1,8 +1,10 @@
#include "sum_of_multiples.h"
#include <stdbool.h>
-unsigned int sum_of_multiples(const unsigned int *multiples, const size_t number_of_multiples, const unsigned int upper_bound)
+unsigned int sum_of_multiples(const unsigned int *multiples,
+ const size_t number_of_multiples,
+ const unsigned int upper_bound)
{
unsigned int sum = 0;
for (unsigned int current = 1; current < upper_bound; current++) {
for (size_t i = 0; i < number_of_multiples; i++) {