This preview shows page 1. Sign up to view the full content.
Unformatted text preview: Job Offers Probability (%)  0 19.6 1 25.1 2 21.6 3 15.9 4 9.9 5 4.7 6 2.3 7 0.9 8 or more 0.2 Do not attempt to solve this problem analytically. Instead you must use simulation. Your program must include: 1) A function that, given N 1 and N 2 , decides how many job interviews a particular student will have 2) A boolean function that, given P , decides whether or not a particular interview will result in a job offer, 3) A function that, given N 1 , N 2 and P , simulates a single graduating student and returns the number of job offers received by that student Note that P is to be entered as a percentage. Call your program jobOffers.cpp and submit as Assignment #11....
View Full
Document
 Spring '11
 duke
 Limits

Click to edit the document details