How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask LogicPro Your Own Question
LogicPro, Engineer
Category: Homework
Satisfied Customers: 13039
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
Type Your Homework Question Here...
LogicPro is online now
A new question is answered every 9 seconds

A gasoline company requires a program for their POS systems

This answer was rated:

A gasoline company requires a program for their POS systems at the pumps through North America. The program should display the following options for the customer to choose from:
1. 3.00 per gallon for regular
2. 4.50 per gallon for premium
3. 5.20 for diesel
4. 1.00 per Amp-Hr to charge an electric car(25 Amp-Hr to charge completely)
In addition the station charges
1. 12.00 for full service
2. 10.00 for quick and go service
3. There is no charge for self service
There are taxes to be paid
1. 7.75% sales tax on the total gasoline purchase
2. 8% on the total diesel purchase
3. 3% on the total for the electric car.
Your program should prompt customer for type of service desired so the customer can select one.
Alert customer if entry is not correct.
Another prompt will be required for the type of fuel or charging.
Alert customer if entry is not correct.
Next the customer will be prompted for the amount of fuel desired. Alert customer if this entry is entered empty.
Your program should then calculate the bill specifying the type of service, type of fuel, amount of fuel/charge, the sales tax paid, and the final total.
A message of appreciation should be printed at the end.
The company would like to store 500 entries for the dollar amount of each type of service, the dollar amount of each type of fuel, the dollar amount of the total revenue, and the total tax collected for each type of fuel.
Welcome to JustAnswer.
My name is XXXXX XXXXX I will help you.
If you have any file(s), Zip all files, upload the zipped file to and post download link here.
What is the deadline?
Customer: replied 4 years ago.


are you able to answer within the next hour or two

Which language are you using?
Is it java or Visual Basic?
Customer: replied 4 years ago.

I dont know I think its java but not sure Could I get in both ways


I need the answer within an 1hr 45 minutes please


I just need like the input output write things like that



I declare something as float

Please let me know the language?

Also it will take me 4-5 hours, let me know.
Customer: replied 4 years ago.



could you please try to finish it early if you can please

What is the absolute deadline?
Also it is GUI or Console Based?
Customer: replied 4 years ago.

tonight by 10 pm pst


this is an example of what I need


1. Input a list of positive numbers, terminated by 0, into an array Numbers [].

Then display the array and the largest and smallest number in it.


Declare number [100], A, Z, largeNo, smallNO, count as Integer

Set count = 0

Write “enter the number:”

Input A

While number != 0

Set number [count] = A

If count = 0 then

Set largeNo = number [count]

Set smallNo = number [count]

End if

If largeNo < number [count] then

Set largeNo = number[count]

End if

If smallNo > number [count] then

Set smallNo = number [count]

End if

Set count = count +1

Write “enter the number”

Input A

End while

For (Z = count - 1; Z >= o; z++)

Write number [Z]

End for



ok, I will try my best to provide you answer ASAP.
Customer: replied 4 years ago.

thank u its basic program class i thank its going be in a case statment i think

Customer: replied 4 years ago.

thank u its a basic pseudo case algorithm

Customer: replied 4 years ago.

yea its a pseudo case algorithm

Customer: replied 4 years ago.

where do you put the answer at?


Please check back in 2 hours.
Customer: replied 4 years ago.

I'm sorry to keep bothering you, but how close are you to finishing?

yes, please wait for 10-15 minutes
Customer: replied 4 years ago.

I need to turn it in


You need to spend $3 to view this post. Add Funds to your account and buy credits.
LogicPro and other Homework Specialists are ready to help you

Related Homework Questions