Print all even numbers from the interval [a, b] (a ≤ b).
Надрукувати всі парні числа з інтервалу [a, b] (a ≤ b)
#include <string>
string even_numbers_from_interval(int a, int b) {
//
}
// TODO: Replace examples and use TDD by writing your own tests
Describe(any_group_name_you_want)
{
It(should_do_something)
{
Assert::That(even_numbers_from_interval(2, 10), Equals("2 4 6 8 10"));
Assert::That(even_numbers_from_interval(9, 14), Equals("10 12 14"));
}
};