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 06:00
Pthe price of tickets in a group when a purchased in bulk can be found with the equation c=px+24 were c is the cost, p is the number of people,and x is the price per ticket. what is price of of each ticket if it costs $189 to buy tickets for 15 people ? a $8 b $24c $9d $11 show work
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
Which location-sharing service offers items for users as a gaming component and also allows them to collectively link their check-ins to publish a trip? a. whrrl b. buzzd c. foursquare (this option is wrong i already tried) d. gowalla for plato
Answers: 2
question
Computers and Technology, 24.06.2019 06:50
What are the things you are considering before uploading photos on social media?
Answers: 1
question
Computers and Technology, 24.06.2019 07:00
Into what form does the barcode reader convert individual bar patterns?
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
English, 08.10.2019 09:50
Questions on the website: 13722362