Question: Please provide the C program 2) Write a program named as calcPrice.c that formats product information entered by the user and calculate the total amount
Please provide the C program

2) Write a program named as calcPrice.c that formats product information entered by the user and calculate the total amount of purchase. Enter item number:583 Enter unit price: 13.5 Enter quantity: Enter purchase date (mm/dd/yyyy) :09/15/2016 Item 583 2 Unit Price $ 13.50 QTY Purchase Date Total Amount 2 9/15/2016 $ 27.00 The item number, quantity and date should be left justified; the unit price and total amount should be right justified. Hint: Use tabs to line up the columns. Question: Execute your calcPrice.c and attach a screenshot of the output. Then write the source_code of calcPrice.c in your_answer_sheet and upload your_file calcPrice.c to iCollege
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
