| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/vvvvvvvector/tasks-cpp/master/AverageSumArray/main.cpp | [Back] [Original] |
#include
#include
int main()
{
srand(time(NULL));
const int row = 3;
const int col = 3;
int arr[row][col];
double average[row] = {0.0};
for (int x = 0; x < row; x++)
{
for (int y = 0; y < col; y++)
{
arr[x][y] = rand() % 21;
}
}
for (int x = 0; x < row; x++)
{
for (int y = 0; y < col; y++)
{
std::cout
| Web Proxy Viewer | New URL | Original Page |