----jGRASP exec: U:\Web\CS240_Fall_2007\Josephus Problem\November 6\Josephus_Problem_bryan5jm_josephusFruitPicker\josephusFruitPicker WELCOME TO THE JOSEPHUS FRUIT PICKER This program uses the Josephus problem to pick the order in which fruits are added to a fruit salad. A circular list of fruits was created. The fruits in the list are: BANANA CHERRY APPLE MANGO STRAWBERRY ORANGE RASPBERRY BLUEBERRY BLACKBERRY STARFRUIT PINEAPPLE PEAR PLUM PEACH APRICOT CRANBERRY MULBERRY COCONUT KIWI WATERMELON GRAPES HONEYDEW CANTALOUPE LEMON LIME PAPAYA DATE What is the first fruit you want to add to the salad (i.e. remove from the CLIST?): monkey Invalid Input - program terminated. ----jGRASP: operation complete. ----jGRASP exec: U:\Web\CS240_Fall_2007\Josephus Problem\November 6\Josephus_Problem_bryan5jm_josephusFruitPicker\josephusFruitPicker WELCOME TO THE JOSEPHUS FRUIT PICKER This program uses the Josephus problem to pick the order in which fruits are added to a fruit salad. A circular list of fruits was created. The fruits in the list are: BANANA CHERRY APPLE MANGO STRAWBERRY ORANGE RASPBERRY BLUEBERRY BLACKBERRY STARFRUIT PINEAPPLE PEAR PLUM PEACH APRICOT CRANBERRY MULBERRY COCONUT KIWI WATERMELON GRAPES HONEYDEW CANTALOUPE LEMON LIME PAPAYA DATE What is the first fruit you want to add to the salad (i.e. remove from the CLIST?): date Give me a number in the range 1 to 999 that tells me how far along the CLIST to go to find the subsequent fruit to add to the salad: -5 Invalid Input - program terminated. ----jGRASP: operation complete.