Why are the fruit costs stored as values such as 50 and 4?
They are floating-point dollar values that Bash automatically rounds.
They represent integer cents, which Bash can calculate without floating-point arithmetic.
They represent the number of letters in each fruit name.
They are all quantities of fruit in the basket.