/
plato
/
exceptions
Обзор
Документация
Войти
/
plato
/
exceptions
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
ex2/includes/triangle.h
19 строк
454 B
Evanivan
first_commit
11 окт 2025, 17:35
11 окт 2025, 17:35
545c406
Код
Авторство
О чём код?
#pragma once #include "figure.h" #include "exceptions.h" class Triangle : public Figure { protected: int a, b, c; int A, B, C; public: Triangle(int a, int b, int c, int A, int B, int C); std::string get_name() override { return "Треугольник"; } int get_sides_count() override { return 3; } std::string get_sides_info() override; std::string get_angles_info() override; bool is_regular() override; };