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, 23.06.2019 03:30
Hashtags serve to identify the topic of a given tweet true false
Answers: 2
question
Computers and Technology, 23.06.2019 13:00
Which one of the following voltages should never be measured directly with a vom? a. 1200 v b. 500 v c. 800 v d. 100v
Answers: 2
question
Computers and Technology, 23.06.2019 16:00
Kenny works with an it company. his company is about to launch new software in the market. he has to ensure that this new software is functional and meets all of the quality standards set up at the planning stage. which job profile is kenny likely to have? kenny is likely to have the job profile of a blank .
Answers: 2
question
Computers and Technology, 23.06.2019 16:30
Monica and her team have implemented is successfully in an organization. what factor leads to successful is implementation? good between different departments in an organization leads to successful is implementation.
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
Biology, 16.12.2020 23:00
question
Mathematics, 16.12.2020 23:00
question
Mathematics, 16.12.2020 23:00
question
Mathematics, 16.12.2020 23:00
question
Mathematics, 16.12.2020 23:00
question
Mathematics, 16.12.2020 23:00
question
Geography, 16.12.2020 23:00