Scan with your iPhone to install
I was bored so I made a 3 question really easy math quiz
What's New
Version 1.0
First release
What it does
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
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#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!")
}
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by 12candy
You Might Also Like
Advertisement