Есть ответ 👍

Найти кол-во решений системы логических выражений​

229
289
Посмотреть ответы 1

Ответы на вопрос:


C++ #include < iostream> #include < cmath> #include < stdio.h> using namespace std; int main() { int a,b,c,d,r,r2,r3; cin > > a > > b > > c > > d; r=min(a,b); r2=min(r,c); r3=min(r2,d); cout < < r3; return 0; } pascalprogram project1; var a,b,c,d: integer; beginreadln (a,b,c,d); if ((a< =b) and (a< =c) and (a< =d)) then beginwriteln (a); endelse if ((b< =a) and (b< =c) and (b< =d)) then beginwriteln (b); endelse if ((c< =b) and (c< =a) and (c< =d)) then beginwriteln (c); endelse beginwriteln (d); end; end.

Популярно: Информатика