Home Segments Index Top Previous Next

590: Practice

Using printf, amend the program in Segment 541 such that it displays reports such as the following:

engine         0 
box car     3990 
box car     3990 
tank car    1539 
caboose        0