Amend the analyze_train program such that it announces an error if you supply it with a train containing more than 100 cars.
analyze_train