Finished Assignment. Refractering Code Structure.

This commit is contained in:
Jonathan Turner 2024-02-08 18:41:45 -05:00
parent ccf9374c25
commit 5e16a18441
2 changed files with 4 additions and 4 deletions

View File

@ -53,7 +53,7 @@ Algorithm Design Block
return result
*/
package Assignment1;
package Assignments.A1;
import java.util.Scanner;

View File

@ -6,10 +6,10 @@
// IDE Name: IntelliJ
/*
Algorithm Design Block
Algorithm title: Assignment1.Locker Doors Problem
Algorithm title: Locker Doors Problem
Logical steps:
Step 1: Declare two fields, An Array of Assignment1.Locker & A Comparisons Integer.
Step 1: Declare two fields, An Array of Assignments.Assignment1.Locker & A Comparisons Integer.
Step 2: Gather user input for the number of lockers in the problem.
Step 3: Start the locker swap. Check if the input has been gathered prior to execution, if not stop and revert to Step 2.
Step 4: Set comparisons to 0.
@ -48,7 +48,7 @@ Algorithm Design Block
print("Closed lockers: " + closed_lockers)
print("Comparisons: " + comparisons)
*/
package Assignment1;
package Assignments.A1;
import java.util.Scanner;