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
Stels [109]
3 years ago
6

Write a program that reads the subtotal and the gratuity rate, then computes the gratuity and total. For example, if the user en

ters 10 for subtotal and 15% for gratuity rate, the program displays $1.5 as gratuity and $11.5 as total.
Computers and Technology
1 answer:
guajiro [1.7K]3 years ago
6 0

Answer:

subtotal = float(input("Subtotal: "))

gratuity_rate = float(input("Gratuity Rate: "))

gratuity = subtotal * gratuity_rate / 100

total = subtotal + gratuity

print("Gratuity is $" + str(gratuity))

print("Total is $" + str(total))

Explanation:

*The code is in Python.

Ask the user to enter subtotal and gratuity_rate

Calculate the gratuity, multiply subtotal and gratuity_rate and divide the result by 100

Calculate the total, sum the subtotal and gratuity

Print the gratuity and total

You might be interested in
In a new worksheet, you must start by typing in cell A1.
irinina [24]
The answer issssss.. true
6 0
3 years ago
A _____ is often used in Access to present a menu with command buttons that end users can click to perform various database acti
alexandr402 [8]

Answer:

Navigation form

Explanation:

7 0
4 years ago
I WILL GIVE BRAINLIEST TO WHO ANSWERS FIRST AND CORRECTLY.
svlad2 [7]

Answer:

The answer is false

Explanation:

Please give me brainliest so I can post my artwork

6 0
4 years ago
In large organizations, there is a formal business function that includes developing an information policy, planning for data, o
Shkiper50 [21]

Answer:

Data administration.

Explanation:

Data management is a type of infrastructure service that avails businesses (companies) the ability to store and manage corporate data while providing capabilities for analyzing these data.

A database management system (DBMS) can be defined as a collection of software applications that typically enables computer users to effectively and efficiently create, store, modify, retrieve, centralize and manage data or informations in a database. Thus, it allows computer users to efficiently retrieve and manage their data with an appropriate level of security.

Generally, a database management system (DBMS) acts as an intermediary between the physical data files stored on a computer system and any software application or program.

Hence, a database management system (DBMS) is a system that enables an organization or business firm to centralize data, manage the data efficiently while providing authorized users a significant level of access to the stored data.

Data administration is a strategic process that is typically responsible for establishing information policy, data planning, data dictionary development, and monitoring data usage in the firm.

5 0
3 years ago
What is the name of the place where students access all of their course information? Student handbook. Learning management syste
ehidna [41]
The syllabus is where students can find their course information.
3 0
3 years ago
Other questions:
  • _______ ______ is the creation of a computer program by utilizing pictorial elements. Question 36 options: A. Assembly Programmi
    7·2 answers
  • The labor market shows the:
    11·1 answer
  • Powerpoint provides only three picture effects. true or false.
    5·1 answer
  • An investment website can tell what devices are used to access the site. The site managers wonder whether they should enhance th
    10·1 answer
  • Which actions changed the look of the following word?
    11·2 answers
  • Me Completan Pliiiis
    11·1 answer
  • While organizing his computer's power cords, Matt realizes his printer power cord is frayed (coming apart). What should Matt do
    10·1 answer
  • Only the one dose audio editors and video editors know this
    9·2 answers
  • Write a program to find all integer solutions to the equation 4x + 3y -9z = 5 for values of x, y, and z between 0 to 100.
    11·1 answer
  • CLS
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!