Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

write a program in java to implement the following problem. mr Kyle has a sequen

ID: 3769234 • Letter: W

Question

write a program in java to implement the following problem. mr Kyle has a sequence of students mark for course computer since:78,55,88,95,64 and 60. he wants to store the marks in the linked list and want to display the linked list. Then one student that has a mark 95 excused from the course and the teacher deleted this mark. Display the final linked list. write a program in java to implement the following problem. mr Kyle has a sequence of students mark for course computer since:78,55,88,95,64 and 60. he wants to store the marks in the linked list and want to display the linked list. Then one student that has a mark 95 excused from the course and the teacher deleted this mark. Display the final linked list.

Explanation / Answer

Here is the code for you.... If you have any further modifications, just get back to me....

import java.util.*;

public class ComputerCourse {

public static void main(String args[]) {
// create a linked list
LinkedList ll = new LinkedList();
// add elements to the linked list
ll.add(78);
ll.add(55);
ll.add(88);
ll.add(95);
ll.add(64);
ll.add(60);
System.out.println("The sequence of student marks: " + ll);
   System.out.println("Now removing the student with marks 95...");
// remove elements from the linked list
ll.remove(ll.indexOf(95));
System.out.println("95 deleted successfully...");
System.out.println("The sequence of student marks after deletion: "+ ll);
  
}
}