senazubik63kfkd
09.01.2021 17:58

Построить ТИ для следующих высказываний: не В или А и С не(С и В )или А (А и не В) и С (А или не В) и (не А или В)

Нажмите на рекламу ниже и сразу увидите ответ
Популярные вопросы:
Ответ:
maksimlymar200
05.07.2021 07:07
#include <iostream> #include <vector> #include <algorithm> #include <numeric> int main() { std::vector<int> arrayOfDummies; for (char answer{0};;) {  std::cout << "You want to enter a rating?" << std::endl;  std::cin >> answer;  if (int value{0}; answer == 'y')  {   std::cout << "Enter rating:";   std::cin >> value;   arrayOfDummies.push_back(value);  }  else break; } std::cout << "Average: " << std::accumulate(arrayOfDummies.begin(), arrayOfDummies.end(), 0) /    arrayOfDummies.size() << std::endl; }
0,0(0 оценок)
Ответ:
Катя111111177796
24.09.2021 14:56

stdout:

/temp/compiling/source.bas(1) error 3: Expected End-of-Line, found 'Pascal'

Pascal;

^

/temp/compiling/source.bas(2) error 10: Expected '=', found ';'

Var;

  ^

/temp/compiling/source.bas(3) error 3: Expected End-of-Line, found '�'

   a,b:integer;

^

/temp/compiling/source.bas(4) error 10: Expected '=', found ';'

Begin;

    ^

/temp/compiling/source.bas(5) error 3: Expected End-of-Line, found '�'

   read(a,b);

^

/temp/compiling/source.bas(6) error 3: Expected End-of-Line, found '�'

   write(a+b);

^

/temp/compiling/source.bas(7) error 10: Expected '='

End.

^

/temp/compiling/source.bas(9) error 3: Expected End-of-Line, found '�'

Язык C++

^

/temp/compiling/source.bas(11) error 145: Only valid in -lang fb or deprecated or fblite, found 'using'

using namespace std;

^

/temp/compiling/source.bas(12) error 6: Expected '(', found 'main'

int main() {

   ^

/temp/compiling/source.bas(12) error 132: Too many errors, exiting

stderr:

0,0(0 оценок)
Полный доступ
Позволит учиться лучше и быстрее. Неограниченный доступ к базе и ответам от экспертов и ai-bota Оформи подписку
logo
Начни делиться знаниями
Вход Регистрация
Что ты хочешь узнать?
Спроси ai-бота