----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: 3 DATE was added to the fruit salad. APPLE was added to the fruit salad. ORANGE was added to the fruit salad. BLACKBERRY was added to the fruit salad. PEAR was added to the fruit salad. APRICOT was added to the fruit salad. COCONUT was added to the fruit salad. GRAPES was added to the fruit salad. LEMON was added to the fruit salad. BANANA was added to the fruit salad. STRAWBERRY was added to the fruit salad. STARFRUIT was added to the fruit salad. PEACH was added to the fruit salad. KIWI was added to the fruit salad. CANTALOUPE was added to the fruit salad. CHERRY was added to the fruit salad. BLUEBERRY was added to the fruit salad. CRANBERRY was added to the fruit salad. HONEYDEW was added to the fruit salad. MANGO was added to the fruit salad. PLUM was added to the fruit salad. LIME was added to the fruit salad. PINEAPPLE was added to the fruit salad. PAPAYA was added to the fruit salad. WATERMELON was added to the fruit salad. RASPBERRY was added to the fruit salad. MULBERRY was the last fruit, and it was added to the fruit salad. This program terminated normally. ----jGRASP: operation complete.