-
Notifications
You must be signed in to change notification settings - Fork 0
/
Output.txt
72 lines (66 loc) · 1.28 KB
/
Output.txt
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# OutPut
# #----- Purchase Ticket -----
Enter your first name:
Yuvaraj
Enter your last name:
R
Enter your email address:
Enter the departure location (e.g., London):
London
Enter the destination location (e.g., France):
France
Purchase successful! Receipt:
from: "London"
to: "France"
user {
firstName: "Yuvaraj"
lastName: "R"
email: "[email protected]"
}
pricePaid: 20.0
seat: "A1"
# #----- Get Receipt Details -----
Enter the seat you want to retrieve details for:
A1
Receipt details:
from: "London"
to: "France"
user {
firstName: "Yuvaraj"
lastName: "R"
email: "[email protected]"
}
pricePaid: 20.0
seat: "A1"
# #----- View User Seats -----
Enter the section you want to view (A or B):
A
Users and seats in Section A:
userSeats {
user {
firstName: "Yuvaraj"
lastName: "R"
email: "[email protected]"
}
seat: "A7"
}
# #----- Remove User -----
Enter the email of the user to be removed:
User with email [email protected] removed successfully.
# #----- Modify User Seat -----
Enter the email of the user to modify:
Enter the new seat for the user:
A2
Seat modification successful! New receipt details:
from: "London"
to: "France"
user {
firstName: "Yuvaraj"
lastName: "R"
email: "[email protected]"
}
pricePaid: 20.0
seat: "A2"