What results do 10 / 3 and 10.0 / 3 produce in Go?
10 / 3
10.0 / 3
Both produce exactly 3 because Go always discards fractions.
3
Both are compile errors because division requires the % operator.
%
Integer division preserves the fraction, while floating-point division produces 3.
Integer division produces 3, while floating-point division preserves a fractional result.