Nekomimi11
04.06.2022 08:38

a на 10 Python Pezych ш youwild ha Python d=10 5 teic скаль б= 3 CE C = print (o= float (0) а- a = 10

Нажмите на рекламу ниже и сразу увидите ответ
Популярные вопросы:
Ответ:
LysaPysa
06.01.2021 08:12

6) ln = float(input())

print(((ln / 2 / 3.14) ** 2) * 3.14)

7) x, y = int(input()), int(input())

print (x + y)

8) r = float(input())

print((r ** 2) * 3.14)

9) print((2 * 2 + 6 * 6)**0.5)

10) print((2 ** 6) + 13)

11) x, y = float(input()), float(input())

x, y = max(x, y), min(x, y)

print(x, y)

12) a, b = int(input()), int(input())

res  = [str(j) for j in range(a, b + 1)]

print(' '.join(res))

13) m. n = float(input()), float(input())

if max(m, n) == m: print("первый " + str(m))

else: print("второй " + str(n))

14) tb = {'1':'шуруп', '2':'гайка', '3':'вин', '4':'гвоздь', '5':'болт'}

print(tb[input()])

15)tb = {'1':'плохо', '2':'неудовлетворительно', '3':'удовлетворительно', '4':'хорошо', '5':'отлично'}

print(tb[input()])

16) for goose in range(33): print('goose - ' + str(goose), 'кроликов - ' + str((64 - ((goose) * 2)) // 4))

17)tb = [5000, 1000, 500, 100, 50, 10]

s = int(input())

for j in tb: print(str(s // j) + " по " + str(j)); s %= j

18) x = float(input())

if x <= 7: print(-3 * x + 9)

else: print(1 / (x - 7))

19) points = [0, 0, 0]

tb = {0:'Иванов', 1:'Петров', 2:'Сидоров'}

for round in range(3): points[0] += int(input()); points[1] += int(input()); points[2] += int(input())

print(tb[points.index(max(points))])

20) tb = {1:'+', 2:'-', 3:'*', 4:'/'}

x, y = float(input()), float(input())

operation = int(input())

print(eval(str(x) + tb[operation] + str(y)))

0,0(0 оценок)
Ответ:
херфигзнает
01.04.2022 02:12

#include <stdio.h>

#include <stdlib.h>

#include <time.h>

#include <math.h>

#define size 15

int mass[size];

void randArray()

{

   printf("An array of the fiveteen random elements:\n");

   for (int i=0; i<size; i++)

   {

       mass[i] = 1 + rand() % 100;

       printf("%d\t", mass[i]);

   }

}

int findElements(unsigned count)

{

   count = 0;

   for (int i=0; i<size; i++)

   {

       if (abs(mass[i]) % 10 == 6) count++;

   }

   return count;

}

int main()

{

   unsigned count = 0;

   srand(time(NULL));

   randArray();

   printf("\nNumber of elements which ending on six: %d", findElements(count));

   return 0;

}

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