We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4249d89 commit d2d7f63Copy full SHA for d2d7f63
Fortune Teller Activity/fortune_teller.js
@@ -0,0 +1,12 @@
1
+// TODO: Create a variable called "fortune" and assign a number between 0 - 10.
2
+// YOUR CODE GOES HERE
3
+
4
5
+// TODO: Create a fortune teller game using conditional statements and comparison operators.
6
+// Conditions
7
+// 1. If fortune is greater than or equal to 0 and less than or equal to 3, then you have a low fortune.
8
+// 2. If fortune is greater than 3 and less than or equal to 7, then you have an average fortune.
9
+// 3. If fortune is greater than 7 and less than or equal to 10, then you have a good fortune.
10
+// 4. If the fortune is out of range, then the fortune can't be read correctly.
11
12
0 commit comments