Define two functions which, respectively, input values for the elements of an array of real values and
output the array elements:
void ReadArray (double nums[], const int size);
void WriteArray (double nums[], const int size);
1
Expert's answer
2015-07-01T06:52:05-0400
Solution. #include <iostream>
// The function prototypes void ReadArray(double nums[], const int size); void WriteArray(double nums[], const int size);
using namespace std;
void main() { const int size = 10; double nums[size];
Comments
Leave a comment