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

Function printNumbers

Exercises/Modules/Chapter 08/Soln8_06.cpp:212–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected