|hey, i'm working on a C++ program with linked lists for university applicants and i'm asked to :|
a. Reject with a probability of 30%. In this case, the applicant should be deleted from the list ApplicantsList.
b. Keep the student waiting with a probability of 30%. This means the status of the applicant should be set to Waiting.
c. Accept with a probability of 40%. In this case,
The applicant should join the StudentsList and be given a random ID.
but i don't know how to generate these probabilties!!
any help plz???