Reference no: EM132196864
Write a C program for a shopping list. Use the listed items and add one additional item to the list. Code should be nicely indented and commented.
All the field values should be in variables although an array does not have to be used. The Item Num should be a number, not a string The extended price should be calculated in a formula with multiplication right while printing it out. It should not be stored as a variable.
Create a simple Makefile to compile your program into an executable called shopping. You should submit the source code, your Makefile and a screenshot of the output file compressed into a zip file named FirstNameLastNameL1.zip. The screenshot should be named with your name as well.
The Makefile should be called Makefile with no extension. I should be able to type make at the command line to compile your program. Do not include any other files or folders in the zipfile.
Item Num Description Price Count Extended Price
000345 Bookshelf $ 78.50 4 $ 314.00
007474 Pen $ 2.99 100 $ 299.00
000987 Chair $ 129.99 6 $ 779.94
002342 Camera $ 1295.40 3 $ 3886.20