This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Завдання 1. Обчислити суму та середнє значення елементів матриці | |
/*Середнє – це “золота середина” 🎯 між усіма числами матриці. */ | |
#include <iostream> | |
using namespace std; | |
int main() { | |
const int n = 3; | |
int a[n][n]; | |
int s = 0; |