Question: Given the below program skeleton. Replace the four items so that the program produces the below output. Try to mimic the outputs format precisely, but

Given the below program skeleton. Replace the four items so that the program produces the below output. Try to mimic the outputs format precisely, but its 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 qtyl = 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 < add code here>) ; System.ou.printf (DATA_FMT_STR, ,add code here) ; } // end main } // end class CarInventoryReport Output: Item Quanity Price Value ------ ---------- ------- -------- Mazda RX-8 10 28,000 280,000 MINI Cooper 100 23,000 2,300,025

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!