Given the below program skeleton. Replace the four <add code here> items so that the program produces the below output. Try to mimic the output’s format precisely, but it’s OK if your column widths vary slightly from the shown column widths.
public class CarInventoryReport{public static void main(String[] args){final String HEADING_FMT_STR = ;final String DATA_FMT_STR = ;String item1 = "Mazda RX-8";int qty1 = 10;double price1 = 27999.99;String item2 = "MINI Cooper";int qty2 = 100;double price2 = 23000.25;System.out.printf(HEADING_FMT_STR,"Item", "Quantity", "Price", "Value"); System.out.printf(HEADING_FMT_STR,"-----", "-------", "------", "------");System.out.printf(DATA_FMT_STR, ) ;System.out.printf(DATA_FMT_STR, ) ;} // end main} // end class CarInventoryReport Output:
Item
-----
Quantity
---------
Price
------
Value
------
Mazda RX-8 10
28,000
280,000
MINI Cooper 100
23,000
2,300,025
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.