S06/ArrayInit.cpp
void printDoubles(double a[] , size_t n) {
    for (size_t i = 0; i < n; ++i)
        cout << a[i] << ' ';
    cout << endl;
}
// Function to print array of doubles:

Function to print array of doubles.
Function to print array of doubles .
void printDoubles(double a[] , size_t n) {
    for (size_t i = 0; i < n; ++i)
        cout << a[i] << ' ';
    cout << endl;
}
void printDoubles ( double a [ ] , size_t n ) { for ( size_t i = 0 ; i < n ; ++ i ) cout << a [ i ] << ' ' ; cout << endl ; }
Function to print array of doubles:
Function to print array of doubles :