feat: change up organisation

This commit is contained in:
2023-04-24 11:02:37 +08:00
parent 13f372ec5a
commit dd56398b7d
378 changed files with 4653 additions and 107 deletions

26
labs/cs2030s/Lab1/Lab3.java Executable file
View File

@@ -0,0 +1,26 @@
import java.util.Scanner;
/**
* The main class for CS2030S Lab 3.
*
* @author Wei Tsang
* @version CS2030S AY21/22 Semester 2
*/
class Lab3 {
public static void main(String[] args) {
// Create a scanner to read from standard input.
Scanner sc = new Scanner(System.in);
// Create a simulation. The ShopSimulation
// constructor will read the simulation parameters
// and initial events using the scanner.
Simulation simulation = new ShopSimulation(sc);
// Create a new simulator and run the simulation
new Simulator(simulation).run();
// Clean up the scanner.
sc.close();
}
}