next up previous
Next: Exercise 4 Up: The Assignment Previous: Exercise 2

Exercise 3

French car number plates satisfy the following rules. Construct with lex a lexical analyzer that will decide whether a car number plate is a valid french number plate. Here's a set number plates to test your program (some are valid french number plates, some are not)
1234 BB 22
123 HH 02
12345 QR 02
1234 SS 12
1234 ZZZ 03
1234 AA 123
AVD 23 111 2
123 UV 12
13 UVA 56
1 AB 12
123 IA 12
123 AO 32


next up previous
Next: Exercise 4 Up: The Assignment Previous: Exercise 2
Marc Moreno Maza
2004-12-01