Создать анимацию Бабочки летящей слева направо Задний фон обязателен создать анимацию.
это надо делать на PYGAME заранее большое
295
412
Ответы на вопрос:
Ms dos qbasic 1.0 dim n as integer cls input "n=", n redim a(1 to n) as integer dim a as integer randomize timer for i = 1 to n a(i) = 9 * rnd + 1 print a(i); next i print ' sort dim j as integer, t as integer for i = 1 to n for j = 1 to n if a(i) < a(j) then t = a(i): a(i) = a(j): a(j) = t end if next j next i ' t = a(1): j = 1 for i = 2 to n if a(i) = t then j = j + 1 else print t; "-"; j t = a(i): j = 1 end if next i print t; "-"; j пример n=10 7 5 2 7 3 3 5 9 7 6 2 - 1 3 - 2 5 - 2 6 - 1 7 - 3 9 - 1
Популярно: Информатика
-
ayveliss16.01.2020 21:16
-
Angelinamskul14.01.2022 04:07
-
lina00p0cjtl19.08.2020 14:42
-
Lera20071021.03.2022 03:54
-
lyolyabal0112.10.2022 12:39
-
sadlyuda21.03.2022 16:43
-
ruslapanazavr02.04.2022 08:40
-
lianaderzkaya8227.08.2022 01:13
-
elenakazimirov06.05.2022 14:02
-
derest20.03.2020 16:01