(Solved):Write a Java application that accomplishes the following tasks: Prompts users to enter the number of students and their names in this course. Displays the total number of students in the class and… View Answer…

 

Question

Write a Java application that accomplishes the following tasks:

Prompts users to enter the number of students and their names in this course.

Displays the total number of students in the class and their names.

Deletes the names of the students who drop the class.

Displays how many students dropped and their names.

 

EXPERT ANSWER

Java Program:

import java.util.Scanner;
import java.io.*;
import java.util.*;
public class Main
{
public static void main(String[] args) {
 Scanner myObj = new

Scroll to top