Question: CAN ANYONE SOLVE THIS FOR ME. URGENT HELP NEEDED. PLEASE HELP
Write a class whose objects will represent students. The class should have
three fields for representing a student‚??s name, this student‚??s coursework mark
(out of 100 )and this student‚??s exam mark (out of 100). The marks will be a positive integer and should initially be set to zero. The constructor should have one parameter, a student name.
There should be an accessor method for returning the student name.
There should be two mutator methods:
one for setting the coursework mark and one for setting the exam mark. There should
also be a method that returns ‚??pass‚?? or ‚??fail‚?? depending on whether or not the combined coursework and exam marks (add them up and divide by two) are greater than or equal to 40. Instructions Do each of the following tasks in turn ‚?? the result should be a functioning program that will earn you full marks. Remember to keep back ups of your
program in case you change your mind about something and want to go back to
an earlier version. Always make sure that your work compiles. If it doesn‚??t
compile then you won‚??t earn any marks.