Files
cpp-course/modules/03_functions/src/default_parameters.cpp
T

10 lines
356 B
C++
Raw Normal View History

2026-08-11 17:40:36 +03:00
#include "default_parameters.hpp"
namespace functions {
auto repeat(char ch, int count) -> std::string { (void)ch; (void)count; return {}; }
auto power(int base, int exponent) -> long long { (void)base; (void)exponent; return 0; }
auto clamp(int value, int min, int max) -> int { (void)value; (void)min; (void)max; return 0; }
} // namespace functions