/
wonguk
/
Laboratory_work_5
Обзор
Документация
Войти
/
wonguk
/
Laboratory_work_5
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
main.cpp
38 строк
740 B
wonguk
Initial commit
13 фев 2026, 08:56
13 фев 2026, 08:56
9ba8e02
Код
Авторство
О чём код?
#include <iostream> //#include "binarytree.h" //#include "menu.h" //#include "tests.h" using namespace std; int main(){ int choice; do { cout << "\n=== laboratory work 5 ===" << endl; cout << "1. test from the menu" << endl; cout << "2. test from the file" << endl; cout << "3. interactive mode" << endl; cout << "4. output" << endl; cout << "5. choose option" << endl; cin >> choice; switch (choice){ case 1: cout << "1" << endl; break; case 2: cout << "2" << endl; break; case 3: cout << "3" << endl; break; case 4: cout << "Output from programm." << endl; break; default: cout << "Error choice. attempt again."<< endl; } } while (choice != 4); return 0; }