1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
#include <iostream>
#include <iomanip>
#include <conio.h>
using namespace std;
//declaring Functions
int gettotal (int[5][2], int);
int getaverage (int, int);
int getcolumntot (int, int);
int getlowinrow (int, int);
int array1[5][2] = { {10,20},
{30,40},
{50,60},
{70,80},
{90,99} };
int main()
{
int total;
for (int i = 0; i<5; i++)
for(int n = 0; n<2; n++)
cout << array1[i][n];
gettotal(array1[5][2], 10);
return 0;
}
int gettotal(int array1 [5][2], int 10)
{
cout << "function";
}
|