Initial Course
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#include "break_continue.hpp"
|
||||
|
||||
namespace control_flow {
|
||||
|
||||
auto sum_positive(const std::vector<int>& data) -> int {
|
||||
(void)data;
|
||||
return 0;
|
||||
}
|
||||
|
||||
auto first_multiple_of(const std::vector<int>& data, int divisor) -> int {
|
||||
(void)data; (void)divisor;
|
||||
return -1;
|
||||
}
|
||||
|
||||
auto collect_until_negative(const std::vector<int>& data) -> std::vector<int> {
|
||||
(void)data;
|
||||
return {};
|
||||
}
|
||||
|
||||
} // namespace control_flow
|
||||
Reference in New Issue
Block a user