Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. The maker of a popular beverage is running a contest in whichyou must collect bottle caps to spell a word.Write a program to simulate the collection of bottle caps to spellapple. In every100caps,AandEoccur40times each, andPandLoccur10times each.Do 50 simulations and print the average number of caps per sim-ulation.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement