Write a c program for a shopping list

Assignment Help Computer Engineering
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

Reference no: EM132196864

Questions Cloud

What are the pros and cons of the current system : The CNBC Accredited Investors article is an example of government intervention where we limit who can purchase a good for their own good, at least in theory.
Personality comes across through its organizational culture : Customer satisfaction, although necessary, is not sufficient to create loyalty. A company’s "personality" comes across through its Organizational Culture ?
Illustrates the partial but fair contract is preferred : Diagram an income utility curve with two points representing a sick state (S) and a healthy state (H). Now diagram two types of insurance.
Hearing is purely physical process : Hearing is a purely physical process. Listening Involves psychology as we attach meaning to what we hear.
Write a c program for a shopping list : 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.
Contradict your personal beliefs about adult learning : How do findings from neuroscience confirm or contradict your personal beliefs about adult learning?
Define a function to set the years : Define a class with the following properties. Class name : movie. Private variables should store years of release for two movies.
Customer loyalty is best defined as composite : Customer loyalty is best defined as a composite of three important characteristics which include all of the following EXCEPT:
Explain the model of perfect competition : The presumption of efficiency for capitalism is based on the model of perfect competition. Explain the assumptions underlying the model of perfect competition.

Reviews

Write a Review

 

Computer Engineering Questions & Answers

  What are the deflections at point a and point b

In the accompanying figure. the deflection of nodes 2 and 3 are 0.02 mm and 0.025 mm, respectively. What are the deflections at point A and point B.

  How can you acquire the digital evidence from the computer

How can you acquire the digital evidence from the computer and which methods of collection would you use and why - would you use any special tools, programs, or methods?

  Write a matlab program that outputs all the negative values

Use for-end loop(s) to write a MATLAB program that outputs all the negative values of 7sin(x) on the x domain of [0,3pi].

  Write the appropriate accessor and mutator methods

Write the appropriate accessor and mutator methods for each class. Write two class es named ProductionWorker and ShiftSupervisor.

  What are three reasons that advanced persistent threat pose

What are three reasons that advanced persistent threat pose the greatest cyber intelligence threat to nation-state and commercial targets?

  How many hour work each week to pay for gas to fuel the car

As a part time student and a part time worker, you earn $4.50 an hour. Your parents would buy you a used car, but you must pay for the gas. gas costs $1.10/gallon and you use 20 gallons/week. How many hours will you work each week to pay for the g..

  Write a java program that creates an array of integers

Write a java program that creates an array of integers

  Calculates the class mean and standard deviation

Calculates the class mean, standard deviation and percentage of the test scores falling into the ranges.

  Global economy

Explain why is the global economy so vital today? Explain how the global economy has altered since the mid-twentieth century.

  Compute the profit made for selling goldfish flakes

Write a C# program to compute the profit made for selling goldfish flakes on-line, using Visual Studio.

  This assignment is due for online students by midnight on

this assignment is due for online students by midnight on sunday of week 7 and for on-ground students before week 8s

  Write an application that prints the integer numbers

Write an application that prints the integer numbers from 1 to 60 along-with the square root value of only even numbers.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd