The ribbon ledger needs a type for entries with a label and a length in meters. Name that type RibbonRecord, then use it for the entry you print.
typedef struct to define RibbonRecord with label and meters, then print Ribbon: 4 meters.After defining the alias, declare and initialize an actual RibbonRecord object before accessing its fields.
Define the typedef before main and initialize its members in field order.