making a practice exam I had to make the following problem which I couldn't solve unfortunately...
Problem
In the springtime, a student has $N$ days to find a summer job for one month. Each day, the student is offered a job with total salary drawn from a exponential distribution with mean $R > 0$. The offers are independent. The costs of applying for jobs is $c < R$; the student pays these costs each time he rejects an offer. The offer on day $N$ is accepted in all cases. He cannot revisit a rejected offer. When should the student accept an offer?
I hope someone can help me..