Skip to content

Instantly share code, notes, and snippets.

View MarkoFCNN's full-sized avatar

MarkoFCNN

  • Joined Sep 19, 2025
View GitHub Profile
#include <iostream>
using namespace std;
// 1
int a() {
int x, y = 0;
cout << "Число: ";
cin >> x;
for (int i = 1; i <= x; i++) y = y + i;
@MarkoFCNN
MarkoFCNN / gist:66b739db7d35460f28751ca7b0645ad0
Created September 28, 2025 19:33
Соколов Марк // 9/2 24/3 РПО
include <iostream>
#include <cmath>
using namespace std;
// 1
void task1() {
int number;
cout << "Введите целое число: ";
cin >> number;
// Задание 1
#include <iostream>
#include <cmath>
int main() {
double dlina, shirina, p4, s;
std::cout << "Введите длину прямоугольника: ";
std::cin >> dlina;