diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e10e727
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/.metadata/
diff --git a/dropbox12/.classpath b/dropbox12/.classpath
new file mode 100644
index 0000000..64c0023
--- /dev/null
+++ b/dropbox12/.classpath
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/dropbox12/.project b/dropbox12/.project
new file mode 100644
index 0000000..8facb2c
--- /dev/null
+++ b/dropbox12/.project
@@ -0,0 +1,17 @@
+
+
+ dropbox12
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+
+
diff --git a/dropbox12/.settings/org.eclipse.core.resources.prefs b/dropbox12/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..99f26c0
--- /dev/null
+++ b/dropbox12/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+encoding/=UTF-8
diff --git a/dropbox12/dropbox12/.gitignore b/dropbox12/dropbox12/.gitignore
new file mode 100644
index 0000000..555bc90
--- /dev/null
+++ b/dropbox12/dropbox12/.gitignore
@@ -0,0 +1,3 @@
+/Student.class
+/student.class
+/StudentTest.class
diff --git a/dropbox12/dropbox12/Student.java b/dropbox12/dropbox12/Student.java
new file mode 100644
index 0000000..3f2027c
--- /dev/null
+++ b/dropbox12/dropbox12/Student.java
@@ -0,0 +1,66 @@
+/**
+
+ * Assignment 12
+
+ * Course: CISS238
+
+ * Student: Scott Steely
+
+ * Date: Sep 22, 2025
+
+ */
+
+package dropbox12;
+import java.util.ArrayList;
+import java.util.Collections;
+public class Student {
+ // fileds
+ private String name;
+ private ArrayList courses;
+
+ //accessors
+ public String getName() {
+ return name;
+ }
+ public ArrayList getCourses() {
+ return courses;
+ }
+ // mutators
+ public void setName(String name) {
+ this.name = name;
+ }
+ public void setCourses(ArrayList courses) {
+ this.courses = courses;
+ }
+ // constructors
+ public Student(String name, ArrayList courses) {
+ this.name = name;
+ this.courses = courses;
+ }
+ // methods
+ public void addCourse(String course) {
+ getCourses().add(course);
+ }
+ public void removeCourse(String course) {
+ getCourses().remove(course);
+ }
+ public void sortCourses() {
+ Collections.sort(getCourses());
+ }
+ public int findCoursePosition(String course) {
+ return getCourses().indexOf(course) + 1;
+ }
+ public boolean isCourseCompleted(String course) {
+ return getCourses().contains(course);
+ }
+ // toString
+ @Override
+ public String toString() {
+ String str;
+ str = String.format("Name: %s%n$d courses%n", getName(), getCourses().size());
+ for(String c:getCourses()) {
+ str += String.format("%s, ", c);
+ }
+ return str;
+ }
+}
diff --git a/dropbox12/dropbox12/StudentTest.java b/dropbox12/dropbox12/StudentTest.java
new file mode 100644
index 0000000..2f690fc
--- /dev/null
+++ b/dropbox12/dropbox12/StudentTest.java
@@ -0,0 +1,86 @@
+/**
+
+ * Assignment 12
+
+ * Course: CISS238
+
+ * Student: Scott Steely
+
+ * Date: Sep 22, 2025
+
+ */
+package dropbox12;
+import java.util.ArrayList;
+import java.util.Scanner;
+public class StudentTest {
+ public static void main(String[] args) {
+ Scanner input = new Scanner(System.in);
+ // variables
+ String name;
+ String course;
+ // two courses in an ArrayList
+ ArrayList myCourses = new ArrayList<>();
+ myCourses.add("CS 101");
+ myCourses.add("CS 102");
+ // prompt user for input
+ System.out.println("Enter student name: ");
+ name = input.nextLine();
+ // create a student with the two courses
+ Student student = new Student(name, myCourses);
+ int menuSelected;
+ // display a user menu
+ System.out.println("Enter a number for the task:");
+ System.out.println("1. Add a course.");
+ System.out.println("2. Drop a course.");
+ System.out.println("3. Find the position of a course.");
+ System.out.println("4. Display all courses.");
+ System.out.println("5. Sort courses.");
+ System.out.println("6. Exit.");
+ menuSelected = input.nextInt();
+ input.nextLine();
+ while(menuSelected > 0 && menuSelected <6) {
+ switch(menuSelected) {
+ case 1:
+ System.out.println("Enter a course: ");
+ course = input.nextLine();
+ student.addCourse(course);
+ System.out.println("Course added.");
+ break;
+ case 2:
+ System.out.println("Enter a course to delete:");
+ course = input.nextLine();
+ student.removeCourse(course);
+ System.out.println("Course dropped.");
+ break;
+ case 3:
+ System.out.println("Enter a course to see its position: ");
+ course = input.nextLine();
+ // check if the course is in the completed list
+ if(student.isCourseCompleted(course)) {
+ System.out.printf("%s is in position %d%n",
+ course, student.findCoursePosition(course));
+ } else {
+ System.out.printf("%s is not completed yet.", course);
+ }
+ break;
+ case 4:
+ System.out.println(student);
+ break;
+ case 5:
+ student.sortCourses();
+ System.out.println(student);
+ }
+ // display a user menu
+ System.out.println("Enter a number for the task:");
+ System.out.println("1. Add a course.");
+ System.out.println("2. Drop a course.");
+ System.out.println("3. Find the position of a course.");
+ System.out.println("4. Display all courses.");
+ System.out.println("5. Sort courses.");
+ System.out.println("6. Exit.");
+ menuSelected = input.nextInt();
+ input.nextLine();
+ }
+ input.close();
+ }
+}
diff --git a/dropbox13/.classpath b/dropbox13/.classpath
new file mode 100644
index 0000000..64c0023
--- /dev/null
+++ b/dropbox13/.classpath
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/dropbox13/.project b/dropbox13/.project
new file mode 100644
index 0000000..bbbff64
--- /dev/null
+++ b/dropbox13/.project
@@ -0,0 +1,17 @@
+
+
+ dropbox13
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+
+
diff --git a/dropbox13/.settings/org.eclipse.core.resources.prefs b/dropbox13/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..99f26c0
--- /dev/null
+++ b/dropbox13/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+encoding/=UTF-8
diff --git a/dropbox13/dropbox13/.gitignore b/dropbox13/dropbox13/.gitignore
new file mode 100644
index 0000000..45e2984
--- /dev/null
+++ b/dropbox13/dropbox13/.gitignore
@@ -0,0 +1,2 @@
+/Employee.class
+/EmployeeTest.class
diff --git a/dropbox13/dropbox13/Employee.java b/dropbox13/dropbox13/Employee.java
new file mode 100644
index 0000000..8607d67
--- /dev/null
+++ b/dropbox13/dropbox13/Employee.java
@@ -0,0 +1,67 @@
+/**
+
+ * Assignment 13
+
+ * Skill: CISS238
+
+ * Student: Scott Steely
+
+ * Date: Sep 22, 2025
+
+ */
+
+package dropbox13;
+import java.util.ArrayList;
+import java.util.Collections;
+
+public class Employee{
+ // fileds
+ private String name;
+ private ArrayList skills;
+
+ //accessors
+ public String getName() {
+ return name;
+ }
+ public ArrayList getSkills() {
+ return skills;
+ }
+ // mutators
+ public void setName(String name) {
+ this.name = name;
+ }
+ public void setSkills(ArrayList skills) {
+ this.skills = skills;
+ }
+ // constructors
+ public Employee(String name, ArrayList skills) {
+ this.name = name;
+ this.skills = skills;
+ }
+ // methods
+ public void addSkill(String skill) {
+ getSkills().add(skill);
+ }
+ public void removeSkill(String skill) {
+ getSkills().remove(skill);
+ }
+ public void sortSkills() {
+ Collections.sort(getSkills());
+ }
+ public int findSkillPosition(String skill) {
+ return getSkills().indexOf(skill) + 1;
+ }
+ public boolean isSkillCompleted(String skill) {
+ return getSkills().contains(skill);
+ }
+ // toString
+ @Override
+ public String toString() {
+ String str;
+ str = String.format("Name: %s%nSkills :%n", getName(), getSkills().size());
+ for(String c:getSkills()) {
+ str += String.format("%s, ", c);
+ }
+ return str;
+ }
+}
diff --git a/dropbox13/dropbox13/EmployeeTest.java b/dropbox13/dropbox13/EmployeeTest.java
new file mode 100644
index 0000000..fdf571c
--- /dev/null
+++ b/dropbox13/dropbox13/EmployeeTest.java
@@ -0,0 +1,87 @@
+/**
+
+ * Assignment 13
+
+ * Skill: CISS238
+
+ * Employee: Scott Steely
+
+ * Date: Sep 22, 2025
+
+ */
+package dropbox13;
+import java.util.ArrayList;
+import java.util.Scanner;
+
+public class EmployeeTest {
+ public static void main(String[] args) {
+ Scanner input = new Scanner(System.in);
+ // variables
+ String name;
+ String skill;
+ // two skills in an ArrayList
+ ArrayList mySkills = new ArrayList<>();
+ mySkills.add("Diviner/Dowser");
+ mySkills.add("Alchemist");
+ // prompt user for input
+ System.out.println("Enter employee name: ");
+ name = input.nextLine();
+ // create a employee with the two skills
+ Employee employee = new Employee(name, mySkills);
+ int menuSelected;
+ // display a user menu
+ System.out.println("Enter a number for the task:");
+ System.out.println("1. Add a skill.");
+ System.out.println("2. Drop a skill.");
+ System.out.println("3. Find the position of a skill.");
+ System.out.println("4. Display all skills.");
+ System.out.println("5. Sort skills.");
+ System.out.println("6. Exit.");
+ menuSelected = input.nextInt();
+ input.nextLine();
+ while(menuSelected > 0 && menuSelected <6) {
+ switch(menuSelected) {
+ case 1:
+ System.out.println("Enter a skill: ");
+ skill = input.nextLine();
+ employee.addSkill(skill);
+ System.out.println("Skill added.");
+ break;
+ case 2:
+ System.out.println("Enter a skill to delete:");
+ skill = input.nextLine();
+ employee.removeSkill(skill);
+ System.out.println("Skill dropped.");
+ break;
+ case 3:
+ System.out.println("Enter a skill to see its position: ");
+ skill = input.nextLine();
+ // check if the skill is in the completed list
+ if(employee.isSkillCompleted(skill)) {
+ System.out.printf("%s is in position %d%n",
+ skill, employee.findSkillPosition(skill));
+ } else {
+ System.out.printf("%s is not completed yet.", skill);
+ }
+ break;
+ case 4:
+ System.out.println(employee);
+ break;
+ case 5:
+ employee.sortSkills();
+ System.out.println(employee);
+ }
+ // display a user menu
+ System.out.println("Enter a number for the task:");
+ System.out.println("1. Add a skill.");
+ System.out.println("2. Drop a skill.");
+ System.out.println("3. Find the position of a skill.");
+ System.out.println("4. Display all skills.");
+ System.out.println("5. Sort skills.");
+ System.out.println("6. Exit.");
+ menuSelected = input.nextInt();
+ input.nextLine();
+ }
+ input.close();
+ }
+}