Отсканируй на iPhone, чтобы установить
I was bored so I made a 3 question really easy math quiz
Что нового
Версия 1.0
First release
Что делает
Действий: 22-
Show Alert
-
Show Alert
-
Ask for Input
-
If
-
Show Alert
-
If
-
Show Alert
-
Show Alert
-
Show Alert
-
Ask for Input
-
If
-
Show Alert
-
If
-
Show Alert
-
Show Alert
-
Show Alert
-
Show Alert
-
Ask for Input
-
If
-
Show Alert
-
If
-
Show Alert
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#define color orange
#define glyph calculator
confirm("Really Easy Math Quiz")
confirm("5 + 5")
const ProvidedInput = prompt("", "Number")
if ProvidedInput == 10 {
confirm("10 is the correct answer 👏👏")
} else {
confirm("Wrong answer😔")
}
confirm("Alright next question")
confirm(" 2 + 10")
const ProvidedInput1 = prompt("", "Number")
if ProvidedInput1 == 12 {
confirm("12 was the correct answer👏👏")
} else {
confirm("Wrong answer😔")
}
confirm("Alright last question")
confirm("**Drum roll🥁🥁🥁🥁**")
confirm("10 + 9")
const ProvidedInput2 = prompt("", "Number")
if ProvidedInput2 == 19 {
confirm("You Completed The Quiz Excellent Job My Friend!")
} else {
confirm("You were so close you can do it again!")
}
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Ещё от 12candy
Вам также может понравиться
Реклама