Train name:
Seat number:
Booked:
BOOK
Assume that users fill the value into the textfields (and integer number for Seat number and Booked), when users click "BOOK" button:
a. Check input: If users input booked > seat, show the error text" You must input booked <= seat!". (0.5 point)
TRAIN INFORMATION
Train code:
1
Train code:
Train name: My Train
Train name:
Seat number: 10
Seat number:
Booked:100
BOOK
TRAIN INFORMATION
Booked:
=>
BOOK
You must input booked <= seat!
Otherwise, make the request b.
+ 100%
Zoom
Close