A teacher and her grader both work on the grades to her class of 30 students. The grader populates the grades, but the teacher can at any time select and print a grade or apply a curve to all the grades. The curve is a constant multiplier applied to each grade. Write a program consisting of a thread for the grader to atomically enter the grades and another thread where the teacher can select and print any grade or apply a curve to all the grades.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here