Question: Write a java program that reads two double values as input. Your program will need to use the Scanner class to read the two values.
Write a java program that reads two double values as input. Your program will need to use the Scanner class to read the two values. With these two values your program needs to output the following:
the product, as a double, of multiplying the first value by the second
the quotient, as a double, of dividing the first value by the second
the product, as an int, of multiplying the first value by the second
the quotient, as an int, of dividing the first value by the second
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
