ShareShortcuts

Really Easy Math Quiz

I was bored so I made a 3 question really easy math quiz

12candy
Fork “Really Easy Math Quiz”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so 12candy gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
37K
Saved
0
Actions
22
Category
Fun
Version
1.0
Language
EN

I was bored so I made a 3 question really easy math quiz

What's New

Version 1.0

First release

Version History
1.0 Nov 17, 2022

First release

What it does

22 actions
  1. Show Alert
  2. Show Alert
  3. Ask for Input
  4. If
  5. Show Alert
  6. If
  7. Show Alert
  8. Show Alert
  9. Show Alert
  10. Ask for Input
  11. If
  12. Show Alert
  13. If
  14. Show Alert
  15. Show Alert
  16. Show Alert
  17. Show Alert
  18. Ask for Input
  19. If
  20. Show Alert
  21. If
  22. Show Alert

View as code
Beta

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

See All

You Might Also Like

See All
Advertisement