-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRegistration.java
More file actions
49 lines (43 loc) · 2.05 KB
/
Registration.java
File metadata and controls
49 lines (43 loc) · 2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import java.util.Scanner;
public class Registration {
public static String[] emoji= {"🚀","✨","😊","❌","✔️","😕"};
public static String firstname, lastname, occupation, blood_group, gender, citizenship_issue_district,date_of_birth;
public static int required_age, userenteredID,userenteredamount, requiredamount,age,citizenship_number;
public static String small_vechicles, nexteligibility, citizenshippath, drivinglicencepath ,medicalpath, passwordsizepath, licencecategory;
public static boolean task_one_completed= false;
public static boolean task_two_completed= false;
public static boolean task_three_completed= false;
public static Scanner scannerobject= new Scanner(System.in);
public static void main(String[] args) throws InterruptedException {
while (true) {
System.out.println("""
Choose 1 number from the menu below:
1. User Registration and Login (Login to application)
2. License Application (registration of licence)
3. Admin Review and Approval (checking if the licence is approve or not)
4. Reporting (renewal licence)
5. Exit""");
int userinput = scannerobject.nextInt();
if (userinput >= 1 && userinput <= 5) {
switch (userinput) {
case 1:
LicenceStatus.chossing_number_case1();
break;
case 2:
LicenceStatus.chossing_number_case2();
break;
case 3:
LicenceApplication.Adminreviewandapproval();
break;
case 4:
Renew.choosing_number_case4();
break;
case 5:
System.exit(0);
}
}else{
System.out.println("**** PLZ Enter the number from the menu ****");
}
}
}
}