forked from elenaxenouu/BookIt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.java
More file actions
23 lines (15 loc) · 825 Bytes
/
Main.java
File metadata and controls
23 lines (15 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
public class Main {
public static void main(String[] args) {
AppointmentSystem system = new AppointmentSystem();
// Προσθήκη υπηρεσιών από τον διαχειριστή
system.addService(new Service("Service 1", 15.0, 1));
system.addService(new Service("Service 2", 50.0, 3));
system.addService(new Service("Service 3", 20.0, 1));
system.addService(new Service("Service 4", 60.0, 2));
system.addService(new Service("Service 5", 70.0, 3));
system.addService(new Service("Service 6", 50.0, 2));
system.addService(new Service("Service 7", 80.0, 3));
Menu menu = new Menu(system);
menu.showMainMenu();
}
}