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

  What is role of risk assessment

What is role of risk assessment

  Printing of fibonacci series

Write down a program which utilized a loop to determine the first seven values of Fibonacci number sequence explained by the following formula.

  Program to persons ability to vote

Write down a program which asks for the user's age. On the basis of their response print "You may vote" (18 years old or older) or "You can't vote"

  Generating an array for a particular structure

You should generate a structure student_t in order to store the student name and three exam scores. You will generate an array of this structure in the main function.

  Define four phases of an information system''s life cycle

What are the 4 phases of an information system's life cycle? The business process of building and managing information system has four phases. These phases apply to all information systems although different systems may be acquired using different..

  Characteristics of rdbms

Explain the characteristics of the Relational Database Management System (RDBMS).

  Determining the missing side of triangle

Write down a program which will figure out the missing side of the right triangle utilizing the Pythagorean Theorem. Suppose that the user entries will make a triangle.

  Write a function called is_anagram

Write a function called is_anagram.

  Generating the crow’s foot erd

Provided the following business scenario, generate a Crow’s Foot ERD utilizing a specialization hierarchy if suitable. Tiny Hospital keeps the information on patients and the hospital rooms.

  Program on wireless connection technology

Program on wireless connection technology.

  How to calculate the bmi of a team player

how to calculate the BMI of a team player.the formula to calculate the BMI is as follows.

  Security accounts manager

The security accounts manager (SAM) database consists of the information on all user profiles. User account set-up populates the database. Explain the fields and options linked with user account set-up.

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