Scanne avec ton iPhone pour installer
I was bored so I made a 3 question really easy math quiz
Nouveautés
Version 1.0
First release
Ce qu’il fait
22 actions-
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
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#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!")
}
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Plus de 12candy
Ça pourrait aussi te plaire
Publicité