


public static void main(String [] args)() {
    const int SIZE_OF_ARRAY = 10;

    double nums[SIZE_OF_ARRAY];

    for (int i = 0; i < SIZE_OF_ARRAY; i++) {
        cout << "Enter number #" << i+1 << ": ";
        cin >> nums[i];
    }

    for (int i = 0; i < SIZE_OF_ARRAY; i++)
        cout << nums[i] << " ";
    cout << endl;
}
