Initial Course
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
|
||||
namespace control_flow {
|
||||
|
||||
[[nodiscard]] auto sum_positive(const std::vector<int>& data) -> int;
|
||||
[[nodiscard]] auto first_multiple_of(const std::vector<int>& data, int divisor) -> int;
|
||||
[[nodiscard]] auto collect_until_negative(const std::vector<int>& data) -> std::vector<int>;
|
||||
|
||||
} // namespace control_flow
|
||||
Reference in New Issue
Block a user