Im having abit of trouble trying to do 1C ive done a and b however I keep having trouble with 1C

User Requirements Set A
1. Car records:
a. add a new car
b. for a given registration number print the car’s details
c. print a list all cars that are for sale (i.e. where the price paid for is zero)