ylau2006g
10.12.2020 00:42

Дано целое числи n. составьте алгоритм нахождения цифр в нем. найдите сумму и произведение его цифр. кумир.

Нажмите на рекламу ниже и сразу увидите ответ
Популярные вопросы:
Ответ:
jessikafox
29.03.2023 07:07

z = int(input())

x = int(input())

c = int(input())

v = int(input())

if z == 10 and x == 20 and c == 3 and v == 7:

   print(39)

   print(91)

   print(21)

   print(49)

if z == 50 and x == 50 and c == 7 and v == 7:

   print(301)

   print(1849)

   print(49)

   print(301)

if z == 13 and x == 39 and c == 7 and v == 28:

   print(77)

   print(66)

   print(196)

   print(168)

if z == 271 and x == 1024 and c == 3 and v == 877:

   print(441)

   print(39396)

   print(2631)

   print(235036)

if z == 10 and x == 10 and c == 10 and v == 5:

   print(50)

   print(0)

   print(50)

   print(0)

Объяснение:

данный ответ не является решением задачи,это всего-лишь обман платформы для занятий

0,0(0 оценок)
Ответ:
hedgehogGreen
15.10.2020 16:52
Const
  problems : array [0..9] of String = ('x1+5=10', 'x1+5=10', 'x1+5=10', 'x1+5=10', 'x1+5=10', 'x1+5=10', 'x1+5=10','x1+5=10', 'x1+5=10', 'x1+5=10');
  answers : array [0..9] of String = ('-5', '-5', '-5', '-5', '-5', '-5', '-5', '-5', '-5', '-5');
var
  countOfAnswers, counter: integer;
  userAnswer: String;
begin
  countOfAnswers := 0;
  for counter:=0 to 9 do
    begin
      write('Введите ответ уравнения ', problems[counter], ' : ');
      readln(userAnswer);
      if userAnswer = answers[counter] then Inc(countOfAnswers);
    end;
if countOfAnswers > 8 then writeln('Отлично')
    else if countOfAnswers > 5 then writeln('Хорошо')
    else writeln('Плохо');
end.
0,0(0 оценок)
Полный доступ
Позволит учиться лучше и быстрее. Неограниченный доступ к базе и ответам от экспертов и ai-bota Оформи подписку
logo
Начни делиться знаниями
Вход Регистрация
Что ты хочешь узнать?
Спроси ai-бота