Given  two integer variables distance and speed, write an expression that divides distance by speed using floating point  arithmetic, i.e. a fractional result should be produced.

LANGUAGE: JAVA

CHALLENGE:

Given  two integer variables distance and speed, write an expression that divides distance by speed using floating point  arithmetic, i.e. a fractional result should be produced.

SOLUTION:


(double) distance / speed