1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
navik [9.2K]
1 year ago
6

4.22 lab*: program: automobile service invoice(1) output a menu of automotive services and the corresponding cost of each servic

e. (2 pts)ex:davy's auto shop servicesoil change -- $35tire rotation -- $19car wash -- $7car wax -- $12
Computers and Technology
1 answer:
azamat1 year ago
8 0

To write the code for this exercise, we must be familiar with Python's computational language.

The attachment contains the code.

As a result, the Python code can be written as follows:

0 service1 cost

0 service2 cost

print("Services at Davey's Auto Shop")

print("Oil change: $35; Tire rotation: $19; Car wash: $7; Car wax: $12;"

input = service1 ("Select first service: ")

product2 = input ("Select second service: ")

If "Oil change" is service 1, then

35 service1 cost

Tire rotation: elif service1 == true

cost1 service1 = 19

"Car wash," if service1 is true:

cost service1 = 7

"Car wax" if service1 is true:

cost service1 = 12

if (service1) == "-":

service 1 equals "No service"

0 service1 cost

When service2 equals "Oil change,"

35 service2 cost

Tire rotation: elif service2 == true

cost2 service2 = 19

"Car wash" if service2 is true:

cost2 service2 = 7

"Car wax" if service2 is true:

cost2 service2 = 12

To know more about python click on the link:

brainly.com/question/18502436

#SPJ4

You might be interested in
PLEASE ANSWER IN COMPLETE SENTENCES - JOURNALISM, 30 POINTS
Aloiza [94]

Answer:

ok I'll HELP

Explanation:

its 3

Hope this helps!!!!!!!!!!!

7 0
2 years ago
Read 2 more answers
Why do ineed to upgrade to see answers isnt it enough adds
Airida [17]

Answer:

You only get so many ad veiws a day

Explanation:

I think it is 15

7 0
3 years ago
Read 2 more answers
Which osi layer defines the functions of logical network-wide addressing and routing?
IRISSAK [1]
Answer: The Network Layer
5 0
4 years ago
A network technician is designing a network for a small company. The network technician needs to implement an email server and w
777dan777 [17]

Answer:

(B) Implementing a DMZ segment for the servers

Explanation:

DMZ is the short form for Demilitarized Zone. It is the temporary storage between an internal or private LAN and the public Internet. The main purpose of the DMZ is to give additional layer of security to a company's LAN (Local Area Network).

Once there are services to be provided to users on the public Internet, such services should be added to the DMZ. A few services that are worth implementing a DMZ segment for are;

i. Email servers

ii. Web servers

iii. Proxy servers

iv. FTP servers

5 0
3 years ago
Gross Domestic Product is equivalent to which of the following?
Bingel [31]
Gross income absolutely
3 0
3 years ago
Other questions:
  • Imagine you are spending the weekend with your family in a location with ZERO technology- no phones, TV, computers, video, radio
    10·1 answer
  • Which charges a fee for access to read, research, or copy articles and other published materials?
    11·1 answer
  • Type the correct answer in the box. Spell all words correctly.
    12·1 answer
  • Help me please and thanks
    8·1 answer
  • The total revenues for a company are $150,223 and the total expenses were 125,766. If you are calculating the net income, which
    10·1 answer
  • Which statement best describes a transition in PowerPoint?
    12·1 answer
  • If you wish to collect data from two related websites with different domains in a single google analytics property, what feature
    8·1 answer
  • What should you do before using a website to store student information ? A. Read and understand the website’s privacy contract
    11·2 answers
  • _______________ is the use of IT in communication. a) email b) Chatting c) FTP d) All of the above
    7·1 answer
  • You cannot then move and resize the control on the form as desired with your mouse TRUE OR FALSE​
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!