Question: Given two float type numbers N1 and N2, divide the former by the latter such that the resulting float type value R is floored. The
Given two float type numbers N1 and N2, divide the former by the latter such that the resulting float type value R is floored. The code to read N1 and N2 as well as to print R has already been provided.
Assume that,
- The values of N1 and N2 range from [-10000 to 10000].
- The value of N2 will never be zero.
- JAVA code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
