Skip to content

Commit d2d7f63

Browse files
committed
new File
1 parent 4249d89 commit d2d7f63

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
// YOUR CODE GOES HERE

0 commit comments

Comments
 (0)