|
-
August 17th, 2012, 07:51 AM
#1
enerting double values into a array
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;
}
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|