Computing the unit price of items

Assignment Help Computer Engineering
Reference no: EM1320750

The Manager of the Supermarket would like to be able to compute the unit price of items sold there. To do this the program must input the name and the price of item and its weight in pounds and ounces. Then it must determine and display the unit price (the price per ounce of item) of that item and total cost of the amount purchased. You will require the following variables: Item name (a string) Pounds(a float) Ounces(a float) Pound Price(a float) Unit Price (a float) Total(price a float)

You will require the following formulas: Unit Price = Pound Price/16 Total Price= Pound Price*(pound + ounces/16).

Reference no: EM1320750

Questions Cloud

Test for independence of attributes : Test for independence of attributes
Case study of bugusa : Shady town, U.S.A. has been plagued with a recent crime wave and it is well known to all the residents. The BUGusa, Inc. plant in Shady Town has experienced vandalized vehicles in its parking lot and some second shift employees have been robbed as..
Recognizing the asset and threat : Propose the reasonable values for items in the risk register for this asset and threat, and offer the justifications for your choices.
Find the hypothesis and the null hypothesis : Find the hypothesis and the null hypothesis
Computing the unit price of items : The Manager of the Supermarket would like to be able to compute the unit price of items sold there. To do this the program must input the name and the price of item and its weight in pounds and ounces.
Compensation program satisfying union employees : XYZ Corp has asked its CEO, Tom Evers, to develop a compensation program satisfying union employees.
Level of significance-effectiveness of sleeping pill : Do the data indicate that the sleeping pill is effective at a 1% level of significance?
Program to determine weighted average of test : Write an algorithm for a program which prompts the user to enter the five test scores, determine total of the five tests and determine the weighted average of each test supposing that each test weighs 20%.
Explaining population parameter or sample statistic : A recent survey by alumni of a major university indicated that average salary of 8000 of  its 250,000 graduates was $120,000.  Does this signify population parameter or sample statistic?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  Create a shadow on phrase html5 canvas

Create a shadow on phrase "HTML5 Canvas"

  What will be the exercise ratio of men and women

What will be the exercise ratio of men and women? Results indicated that women averaged 2 hours per week and men averaged 1.25 hour per week.

  Suggest all sources using APA style

Suggest all sources using APA style

  Generate a database for the gps law firm

Generate a database for the GPS Law firm

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  How to use ms access and create a database

How to use MS Access and create a database

  Prepare a multithreaded code breaking program

Prepare a  multithreaded code breaking program. You have been provided 3 files that contain text that have been  encrypted using a Caeser cypher scheme.

  Creating a program that creates a single tips object

Creating a program that creates a single Tips object

  Write program to calculate pay of different types of employe

Write program to calculate pay of different types of employe

  Assigning the link password

Bob has forgotten his password. Allocate him a password of LINK and require that the Bob change his password next time he logs on.

  Problems on word processing application

Problems on word processing application

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