hey guys,
i have been struggling for hours now on how to enter double values into my array so that it can output the sum of the numbers less than 24. this is my code so far. and im stuck


#include <iostream>


using namespace std;

int main()
{
double positive_values[10];
double[] positive_values = {2, 57, -4, 7, 19, 23, 3, 9, 15, 44};

double sum = 0;

}