I'd like to make a program that chooses randomly. Say, either Potato or Apple. To do this I figured I'd choose randomly from the numbers 1 to 10, and then decide which of the vegetables I'd choose. 1-5 = Apple, 6-10 = Potato. How do I do this? I know its a piece of cake for you experienced programmers...
regards,
Morph



LinkBack URL
About LinkBacks


