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
lbvjy [14]
4 years ago
15

Write a program that calculates the total amount of a meal purchased at a restaurant by a customer. The program should ask the u

ser to input the charges of the food, then calculate the amounts of a 18% tip and 7 % sales tax. Display each of these amounts and total charges.
Computers and Technology
1 answer:
Illusion [34]4 years ago
7 0

Answer:

Python script is given below

Explanation:

charge = float(input('Enter the amount you were charged. $'))

#setting the formula for tip and tax

tip = charge*.18

tax = charge*.07

#printing the values

print('Charge for the food: %.2f' % charge)

print('The tip amount: %.2f' % tip)

print('Tax amount: %.2f' % tax)

print('Total amount: %.2f' % (charge+tip+tax))

You might be interested in
Martina is responsible for the installation and maintenance of both hardware and software that make up her company’s network. Sh
natali 33 [55]

Answer:

The answer is "network administrator"

Explanation:

A network manager is liable for the deployment, maintenance, and upgrade to any software or hardware required to operate a computer system effectively, In this post, Martina works as follows:  

  • She can be extended into a local area, wide area network, the network and web services via the IT or device network.
  • She addresses issues that occur in everyday usage and work on long-term initiatives like as information backup or network maintenance.
5 0
4 years ago
Most P2P apps or services provide safety and privacy features such as verification of payment amount before payment is sent, a u
Vesna [10]

Most peer-to-peer (P2P) apps or services provide safety and privacy features such as <u>onetime password (OTP)</u>.

<h3>What is P2P service?</h3>

P2P service is an abbreviation for peer-to-peer (P2P) service and it can be defined as a decentralized platform through which two (2) individuals or business firms interact with each other directly, without any third-party or an intermediary  being involved.

Generally, most peer-to-peer (P2P) applications or services provide safety and privacy features to customers such as:

  • Verification of payment amount before payment is sent.
  • A user PIN
  • The use of a onetime password (OTP).

Read more on P2P here: brainly.com/question/26190446

8 0
2 years ago
Here's one just for fun . For all the car people on here !
Doss [256]

its B...... Dodge challenger SRT Demon


8 0
3 years ago
Read 2 more answers
Integrated Services Digital Network (ISDN) is the digital transmission that allows which of the following services? Check all of
valina [46]

Answer:

voice

television

Internet

mobile phones

Explanation:

6 0
2 years ago
1. lesa __________
maksim [4K]
Penissss...?
Yes or no?
3 0
3 years ago
Other questions:
  • An initialization expression may be omitted from the for loop if no initialization is required.
    15·1 answer
  • _____ consists of computer equipment used to perform input, processing, and output activities.
    10·1 answer
  • A strategic business unit​ (SBU) of a major corporation has high market share in its​ industry, but the growth rate of the indus
    8·2 answers
  • When you call a ____________ method, it executes statements it contains and then returns a value back to the program statement t
    6·2 answers
  • What column, row, and text formatting issues are important when designing tables and lists?
    9·1 answer
  • What is the foundational domain for business
    12·1 answer
  • 14 POINTS AND WILL ASWER BRAINIEST ANSWER ASAP TEST
    15·2 answers
  • Please tell fast plzzzzzz.​
    10·1 answer
  • Write a program that takes two decimal numbers as input and print the largest. If the numbers are equal, print one of them.
    13·1 answer
  • 15 _____ 3 = 0 Question 11 options: a) / b) % c) * d) //
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!