Discover answers to your most pressing questions at Westonci.ca, the ultimate Q&A platform that connects you with expert solutions. Our platform provides a seamless experience for finding reliable answers from a knowledgeable network of professionals. Experience the ease of finding precise answers to your questions from a knowledgeable community of experts.
Sagot :
In this way, using the knowledge in computational language in JAVA it is possible to write a code that identifies the directories and also the people who own these directories:
Writing the code we have:
import java.util.Scanner;
public class PersonnelDirectory
{
public static void main(String[] args)
{
Personnel per = new Personnel();
totalObjects total = new totalObjects();
Scanner scan = new Scanner(System.in);
String firstN, lastN, middleN;
int empID;
double salary;
int choice = -1;
do{
System.out.println("Welcome to the Personnel Directory Management System");
System.out.println("\n\n\t 1. Add Personel");
System.out.println("\n\t 2. Find Personel");
System.out.println("\n\t 3. Print Names");
System.out.println("\n\t 4. Number of Entries in the Directory");
System.out.println("\n\t Select one of the options above (1, 2, 3, 4)");
choice = scan.nextInt();
scan.nextLine();
switch(choice)
{
See more about JAVA at brainly.com/question/12975450
#SPJ1
Thanks for using our service. We're always here to provide accurate and up-to-date answers to all your queries. We appreciate your visit. Our platform is always here to offer accurate and reliable answers. Return anytime. Thank you for trusting Westonci.ca. Don't forget to revisit us for more accurate and insightful answers.