Compute a customer''s charges and total bill

Assignment Help Computer Engineering
Reference no: EM1334885

The assignment is an assignment in which you, a software developer has won a contract to develop a program that will calculate a customer's charges and total bill at the gasoline pump, taking into account the following:

o The per-gallon price for gas is determined by whether the customer purchases leaded or unleaded gasoline.

o A federal gasoline tax is applied to each gallon of gas, varying by whether the gas is leaded or unleaded.

o If the customers pump the gas themselves, there are no additional charges apart from state sales tax. If the customers do not pump the gas themselves, one of the following two service charges apply:

· Gas-n-Go charge: If the customer asks for Gas-n-Go (the station pumps the gas for the customer but performs no other service), a fixed service charge is applied to the bill. The charge does not vary by the amount of gas purchased; the price remains the same whether the customer purchases a half gallon of gas or 10 gallons.

· Full-Service charge: If the customer asks for Full-Service (the station pumps the gas, checks the oil, checks the air pressure in the tires, and cleans the car windows), a fixed charge is applied to the bill. The charge does not vary by the amount of gas purchased; the price remains the same whether the customer purchases a half gallon of gas or 10 gallons.

o A state sales tax is applied to the sum of all charges except for the federal gasoline tax.

Reference no: EM1334885

Questions Cloud

Show the organization''s plan for recruitment sources : Decide what should be included in an organization's plan for recruitment sources and Judge what is the difference between proactive and reactive recruitment.
Explain the marketing process and the basic elements : Explain the marketing process and the basic elements of the marketing mix
Illustrate what factors have contributed to increased income : Illustrate what factors have contributed to increased income inequality an economy along with an equitable income distribution may be efficient as well.
Describe the difference between line authority : Describe the difference between line authority and staff authority and What type of authority do human resource managers have?
Compute a customer''s charges and total bill : The assignment is an assignment in that you, a software developer has won a contract to develop a program that will calculate a customer's charges and total bill at the gasoline pump, taking into account.
Explain name a product that failed due to the other p''s : Explain Name a product that failed due to the other P's of marketing - promotion, pricing or place
Comparative industry analysis : Identify an employer of choice (EOC) in each industry and Why is this employer recognized as an EOC - Include and integrate at least five recent and industry-relevant, peer-reviewed sources.
Illustrate what policy options are available to governmet : Illustrate what policy options are available to the government to counter the effect of a sharp fall in real estate values on the economy.
Policy against sexual harassment : Imagine yourself as a human resources professional who wants to alert top-level management to the importance of a policy against sexual harassment. What interpretation would your policy include?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Management systems do for sales and marketing

What can the knowledge management systems do for Sales and Marketing? What can they NOT do?

  Write the thoughts according to you

All doctor offices have not become 100 percent computerized yet. You can still see good % of offices use manual patient record files indexed by the first letter of patients' last names.

  Write a program on simple game

Write a program on simple game.

  What five items are the most important to organization

What five items are the most important to an organization as it comes to databases? Please provide an example for each of the five items that you feel are important.

  Make an application named numbers

make an application named Numbers. The Numbers class should have non-static public methods named sum and difference, each taking a pair of int variables as arguments.

  What is the worst-case delay for acknowledging an interrupt

What is the worst-case delay for acknowledging an interrupt

  Generate a work breakdown structure code

Generate a Work Breakdown Structure Code

  What are the advantages of the osi reference model

Using the layers of the OSI model as a reference, explain and sketch how repeaters, hubs, bridges, switches, routers, and gateways function in forwarding packets from one host to another through each device respectively.

  Define the concept of object orientation

decribe the concept of object orientation and Universal Modeling Language (UML) as used in computer programming.

  What technologies must be used to secure those areas

The employees have hopes of making the breakthrough and bringing the company public in next two years. You have been hired as a security consultant to assess the company's needs.

  Active and passive tcp connection

At the time of establishment of the TCP session between 2 BGPv4 peers one is developed as active and the other as passive.

  Build a code in preparation for creating a spell-checker

Write down a code in preparation for creating a spell-checker. For now don't worry about actually spell checking: Just write a program that can read in the dictionary word by word.

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