Question: Write code statements to create a DecimalFormat object that will round a formatted value to four decimal places. Then write a statement that uses that object to print the value of result, properly formatted.
- Write a program that prints the square of the product. Prompt for and read three integer values and print the square of the product of all the three integers.