Question: please write a simple Java program on bluej the user enter the grade SAMPLE OF OUTPUT: Enter student details: First Name: John Last Name: Kendall
SAMPLE OF OUTPUT: Enter student details: First Name: John Last Name: Kendall Marks : 96 Grade First Name John Last Name Kendall A+ Another student? (Yes 1, No ):> 1 Enter student details: First Name: Mary Last Name: Kendall Marks : 76 Grade FirstName Last Name Mary Kendall Another student? (Yes - 1, No - 8):> Total student : 2 Exit.. PROBLEM SOLVING TIPS: Num a) Grade /2m Tips Class Student with four attributes firstName, lastName, mark, grade Define a default constructor which is empty. b) /2m /3m d) /3m public set and get method for all attributes public method gradelo in which will receive input mark and assign a grade character to grade based on list of conditions displayed in Table 1. public method displayAll) which will show output as in sample output A main program in which will create object instances, then derives user input and perform suitable set and get method to reflect output as shown above. 2m 18m
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
