OUTPUT MUST MATCH THE IMAGE TO THE TEE . I have the majority of the program writ
ID: 3879531 • Letter: O
Question
OUTPUT MUST MATCH THE IMAGE TO THE TEE. I have the majority of the program written, just having issues with the output. Please make sure to have the right alignment, variable data types and number padding/decimals as shown below!
MUST BE IN C NOT C++/C#! Assume the Item Num is an int that must be padded with zeros (ex: 1234 ---> 00001234)
Write a C program for a shopping list to run on ocelot. Use the listed items and add one additional item to the list. The source file should have your name & PantherlD included in it and it should have the affirmation of originality 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 an integer 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 and your Makefile file compressed into a zip file named FirstNameLastNameL1.zip. 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. This applies even if you are a Mac user Programs that do not compile and do something useful when run will not earn any credit at all Item Num 000345 007474 000987 002342 Description Bookshelf Pencil Chair Computer Price $ 78.51 1.99 $ 129.99 $ 1295.40 Count Extended Price 314.04 199.00 779.94 s 3886.20 100 3Explanation / Answer
// This is a sample program as you have said you already have the code for it.
// Utilize this code to format on your side, learn from the code and comments mentioned here.
// Then you can modify your code to get the desired output
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.