Есть ответ 👍

Xлежит вне отрезков [2,15]или[-108,-5] язык c++ в чём ошибка #include "stdafx.h" #include #include #include using namespace std; int _tmain(int argc, _tchar* argv[]) { int x; scanf("%d",& x); ; if((x< =2 & & 15 > =-108 & & -5)) {; cout< < "-"; } ; else cout< < "+"; ; system("pause"); return 0;

297
386
Посмотреть ответы 2

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


//у нас убивают за такой кодстайл, легче переписать. //dev-c++ 4.9.9.2 #include < iostream> using namespace std; int main(){       setlocale(lc_ctype,"russian");       int x=0;       cin> > x;       > =2)& & (x< =15))||((x> =-108)& & (x< =-       cout< < "нет";       else       cout< < "да";     cin.get();     cin.get();   return 0;       } пример ввода: 1 пример вывода: да

For i: = 15 downto 1 do     begin       z: = sin(i) - i*(1/2)+2.73;       write(i,z);       z: =0;     end;

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