Initial Course
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace functions {
|
||||
|
||||
[[nodiscard]] auto repeat(char ch, int count = 1) -> std::string;
|
||||
[[nodiscard]] auto power(int base, int exponent = 2) -> long long;
|
||||
[[nodiscard]] auto clamp(int value, int min = 0, int max = 100) -> int;
|
||||
|
||||
} // namespace functions
|
||||
Reference in New Issue
Block a user