Вопрос задан 29.04.2019 в 08:11. Предмет Информатика. Спрашивает Крюкова Арина.

Напишите программу, сумму и частное трёх чисел

0 0
Перейти к ответам

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

Внимание! Ответы на вопросы дают живые люди. Они могут содержать ошибочную информацию, заблуждения, а также ответы могут быть сгенерированы нейросетями. Будьте внимательны. Если вы уверены, что ответ неверный, нажмите кнопку "Пожаловаться" под ответом.
Отвечает Дажинова Карина.
Vara,b,c:real;beginwriteln('Введите 3 числа: ');readln(a,b,c);writeln('a+b+c= ',a+b+c);writeln('a:b:c= ',a/b/c);end.
0 0
Отвечает нейросеть ChatGpt. Будьте внимательны, ответы нейросети могут содержать ошибочные или выдуманные данные.

Program to Calculate Sum and Quotient of Three Numbers

Here's a simple program in Python to calculate the sum and quotient of three numbers:

```python # Input three numbers num1 = 2 num2 = 3 num3 = 5

# Calculate the sum sum_of_numbers = num1 + num2 + num3 print("The sum of the three numbers is:", sum_of_numbers)

# Calculate the quotient quotient_of_numbers = sum_of_numbers / 3 print("The quotient of the sum by 3 is:", quotient_of_numbers) ```

This program takes three numbers (2, 3, and 5 in this case), calculates their sum, and then finds the quotient of the sum by 3.

Note: The specific numbers used in the program (2, 3, and 5) are arbitrary and can be replaced with any other numbers for different calculations.

I hope this helps! If you have any further questions or need additional assistance, feel free to ask.

0 0

Топ вопросов за вчера в категории Информатика

Последние заданные вопросы в категории Информатика

Задать вопрос