Skip to content

Instantly share code, notes, and snippets.

View marianahovanec-dev's full-sized avatar

marianahovanec-dev

View GitHub Profile
@marianahovanec-dev
marianahovanec-dev / Завдання 1
Last active September 30, 2025 12:40 — forked from GKovtonyuk/Завдання 1
Практичне завдання: Двовимірні масиви в C++
// Завдання 1. Обчислити суму та середнє значення елементів матриці
/*Середнє – це “золота середина” 🎯 між усіма числами матриці. */
#include <iostream>
using namespace std;
int main() {
const int n = 3;
int a[n][n];
int s = 0;