Write program to assist in monitoring gasoline supply

Assignment Help Programming Languages
Reference no: EM1367767

Write a program to assist in monitoring the gasoline supply in a refinery storage tank. Your program should alert the supervisor when the supply of gasoline in the tank falls below 10% of the tank's 80,000-barrel storage capacity. The supervisor is accustomed to dealing with the contents of the tank in terms of a number of barrels. However, the pump used to fill tanker trucks gives its measurements in gallons, so your program will need to do the necessary conversions. The petroleum industry's barrel equals 42 US gallons. The program should first request that the operator enter the amount of gasoline currently in the tank. Then prompt the user to input the number of gallons pumped into a tanker and update the number of barrels still available. When the supply drops below the 10% limit, issue a warning and end the program.

Reference no: EM1367767

Questions Cloud

Ethical responsibility of primary nurse : What is a nurse's primary ethical responsibility? Has your response changed since you started this course? How has it changed and why?
Pricing and competitive strategies : Pick a good or service you are familiar with. Speculate how the price for that good or service may have been set and how well this price maximizes profit for the company and determine what shifts the company should make in its pricing strategy.
Determine the effect of expansionary monetary policy : Suppose the effect of monetary policy on the exchange rate value of the dollar. Estimate the effect of expansionary monetary policy on each of the following.
Design vb project to calculate checking account balance : Design vb 2008 project to calculate a checking account balance. form: include radio buttons to indicate the type of transaction: deposit, check, or service charge.
Write program to assist in monitoring gasoline supply : Write program to assist in monitoring gasoline supply in refinery storage tank. Your program must alert supervisor when supply of gasoline in the tank falls below 10% of the tank's
Write a program that reads numbers : Write a C++ program that reads N positive numbers from the keyboard, calculates and shows the smallest number of all numbers
Illustrate each company share of market at beginning : Illustrate what was each company's share of market at beginning and end of month. If current trend continues Illustrate what will market shares be.
Issue of differences in international interest rates : Explain why would we expect the difference in the one year interest rate on the dollar vs one year interest rate on, the Euro or any other freely convertible currency,
Compute the overall npv if tangible benefits are given : Tangible benefits of $190,000 per year. If the cost of capital is 12 percent, compute the overall NPV? Overall ROI? Break-even.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write program to display company payroll report in list box

Write a program that display a company payroll report in a list box. the program should read each employees name, hourly rate and hours worked from a file and produce a report.

  Develop logic for program to allow to enter household size

Develop the logic for a program that allows a user to enter each household size and determine the mean and median household size in marengo.

  Advantages of using invisible html table to create web page

What advantages do you see in using an invisible HTML table to structure an entire Web page? What disadvantages does the table structure pose?

  Create form to accept an arrival and departure date

Create a form that accepts an arrival and departure date for a reservation from the user and then calculates the number of nights and the total price for the reservation.

  Create derived class by inheriting tthe class

Create a derived class named FancyDateClass by inheriting the DateClass. You will have to provide both the class definition and implementation.

  Design program to list total points scored for classroom

Student ID, classroom number, and score on the achievement test. Design a program that lists the total points scored for each of the 30 classrooms.

  Card generator program by linked list

Address Book-Card Generator Program Using a Linked List. This program will have names and addresses saved in a linked list. In addition, a birthday and anniversary date will be saved with each record.

  Program to display words in a list box sorted by number

Write a program to display the words in a list box sorted by the number of different vowels(a,e,i,o,u) in the word.

  Method to pass string argument and returns first line

Write a method, getFirstLine, that is passed a String argument and that returns the first line.

  Develop a program to input miles driven and gallons for tank

Develop a program in C++ that will input the miles driven and gallons used (both as integers) for each tankful. The program should calculate and display the miles per gallon obtained for each tankful.

  Creating table-find employee attended meeting on given date

The rows of this table record the fact that an employee from a particular project attended a meeting on the given date.

  Calculating hit ratio for program having loops

Calculate hit ratio for program that loops 10 times from locations 0 - 64.

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