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

  Consider an adt called squarematrix

Consider an ADT called 'SquareMatrix'

  Problem on sql statement

Problem on  SQL statement

  What is compensation of using rule sets

What is compensation of using rule sets

  Ip cameras to improve security for devry university

IP cameras to improve security for DeVry University.

  Prepare a use case diagram

Prepare a Use Case Diagram based on the given problem description.

  What variety of cable will work to make an association

What variety of cable will work to make an association

  How to find the number of characters in a string

How to find the number of characters in a string

  How to create program that performs arithmetic function

How to create program that performs arithmetic function Prompt a user for values for the variables. Pass both variables to methods named sum() and difference().

  How to produce an average class with a public data

How to produce an Average class with a public data Produce an Average class with a public data member to collect the sum of integer entries and a public data member to hold the double average of the sum of the 10 integers.

  Challenges for enterprise system integration

State and discuss the challenges legacy systems pose for the enterprise system integration. Give specific examples in order to support your response.

  What will be formula of digital certificate of the server

Point out what will be the formula of digital certificate of the server N. we denote the public and private keys of server N as K+ ,N KN, and public or private keys of CA are denoted as K+ CA KCA.

  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.

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