MCPcopy Create free account
hub / github.com/Apress/beginning-cpp20 / printNumbers

Function printNumbers

Exercises/NoModules/Chapter 08/Soln8_06.cpp:211–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211void printNumbers(const std::string& label, const unsigned(&numbers)[5])
212{
213 std::cout << label << ": ";
214
215 for (const auto number : numbers)
216 {
217 if (number != NOT_AVAILABLE)
218 std::cout << number << ' ';
219 }
220
221 std::cout << std::endl;
222}

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected