subject

The gas-n-clean service station sells gasoline and has a car wash. fees for the car wash are $1.25 with a gasoline purchase of $10.00 or more and $3.00 otherwise. three kinds of gasoline are available: regular at $2.89, plus at $3.09, and super at $3.39 per gallon.
write a program that prints a statement for a customer.

input consists of number of gallons purchased (r, p, s, or n for no purchase), and car wash desired (y or n). gasoline price should be program defined constant. sample output for these data is

enter number of gallons and press 9.7

enter gas type (r, p, s, or n) and press r

enter y or n for car wash and press y

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:00
Idon understand these and need some ! ?
Answers: 2
question
Computers and Technology, 22.06.2019 07:30
In the film "epic 2015," epic is the name for:
Answers: 3
question
Computers and Technology, 23.06.2019 02:30
Rafael needs to add a title row to a table that he has inserted in word. what should he do? use the alignment options. use the merge and center option for all the cells in the top row. use the merge and center option on the first two cells in the top row. none of the above
Answers: 3
question
Computers and Technology, 23.06.2019 06:10
The head restraint should be adjusted so that it reaches a.the top of your ears b.the base of your skull c.the top of the head
Answers: 1
You know the right answer?
The gas-n-clean service station sells gasoline and has a car wash. fees for the car wash are $1.25 w...
Questions
question
Mathematics, 14.01.2021 19:10
Questions on the website: 13722363