//TODO: Step 16 - Create a property called storyNumber which starts with a value of 0. This will be used to track which story the user is currently viewing.

Step 16 SOLUTION


//TODO: Step 17 - Create a method called nextStory(), it should not have any outputs but it should have 1 input which will be the choice number (int) made by the user.

Leave the body of the method empty, we'll get to it later.

Step 17 SOLUTION


//TODO: Step 18 - Call the nextStory() method from storyBrain and pass the number 1 as the choice made by the user.

Step 18 SOLUTION


//TODO: Step 19 - Call the nextStory() method from storyBrain and pass the number 2 as the choice made by the user.

Step 19 SOLUTION


NOTE: At this stage our app won't do anything yet. We'll test it in the next challenge lesson.