Untitled
unknown
c_cpp
a year ago
231 B
5
Indexable
#include <iostream> #include <array> int main() { std::array< double, 5 > numbers = { 7.5, 3.2, 15.0, 17.2, -3.3 }; for (const auto& n : numbers) { std::cout << n << ", "; } return 0; }
Editor is loading...
Leave a Comment