For each crate, the desk needs the item count and the weight together. A union would let one value overwrite the other. Use a struct so both fields remain available when you print the record.
Edit main.c, use Run to inspect the output, then Submit to check your work.
The struct type and print call are supplied. Both members start at zero.
crate to store 3 in items and 2.5 in kilograms. Run to check Crate: 3 items, 2.5 kg. The print uses %.1f to show one digit after the decimal point.Submit checks the final output, not the technique used. Follow the requested C steps even if a hard-coded print would match.
A struct keeps both members; use crate.items and crate.kilograms with matching printf conversions.