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
Anton [14]
3 years ago
11

Create a pseudocode showing logic steps to perform the required task below.

Computers and Technology
1 answer:
Ludmilka [50]3 years ago
4 0

Answer:

#Function for the calculcations needed

function subtotal_gratuity_total(subtotal,gratuity_rate):

  gratuity_rate = gratuity_rate/100 #this is assuming the user enters the gratuity as a percentage value (e.g. 15)

  gratuity = subtotal*gratuity_rate

  total = subtotal+gratuity

  return subtotal, gratuity_rate, gratuity, total

#Reading the values the user enters

Output(“Input subtotal”)

input (subtotal)

Output(“Input gratuity rate”)

input (gratuity_rate)

#Calling function we created with the values the user enters as inputs,

#and  the 4 values required as outputs

subtotal,gratuity_rate,gratuity, total = subtotal_gratuity_total(subtotal,gratuity_rate)

You might be interested in
Which best explains the relationship among these three facts question 8
makvit [3.9K]

Answer:

no attachment

Explanation:

8 0
2 years ago
Which statement is true?
Finger [1]

Answer:

ion you d goal so P so o so so k well join so lil co got shot do don't still l help dunno look day cream still full from drive are all all all of it by no means fr by by cry see we co

3 0
3 years ago
Read 2 more answers
What are two ways you have already contributed to your personal human capital? Explain why
Dmitry [639]
I helped myself in good ways.
4 0
2 years ago
Read 2 more answers
Only 2 people answer this
marysya [2.9K]

Answer:

1

Explanation:

7 0
3 years ago
Read 2 more answers
Could someone give an example or tell me what all of these mean? (For internet source citing)
Advocard [28]

Answer:

I 5th, but the problem with <u>my</u><u> </u><u>friends</u><u>,</u><u> </u><u>and</u><u> </u><u>I</u><u> </u><u>will</u><u> </u><u>be</u><u> </u><u>in</u><u> </u><u>the</u><u> </u><u>following</u><u> </u><u>plants</u><u> </u><u>4</u><u>,</u><u> </u><u>I</u><u> </u><u>have</u><u> </u><u>a</u><u> </u><u>look</u><u> </u><u>at</u><u> </u>

Explanation:

the unlimited question in the world is the best of the ones in the world in the following plants ways to get the best way to get the best way to get the best way to get the best way to get the best way to get the best way to the new York and a <em>half</em><em> </em><em>day</em><em> </em><em>and</em><em> </em><em>the</em><em> </em><em>other</em><em> </em><em>day and</em><em> </em><em>night</em><em> </em>

7 0
3 years ago
Other questions:
  • Which of the following actions should you take when turning left at an intersection?
    11·1 answer
  • The Internet has been around for quite a while, but it did not have much impact on our everyday lives until the appearance of th
    7·1 answer
  • Which act requires enterprises to guard protected health information and implement policies and procedures to safeguard it?
    7·1 answer
  • Print "Censored" if userInput contains the word "darn", else print userInput. End with newline. Ex: If userInput is "That darn c
    5·1 answer
  • The Gramm-Leach-Bliley Act contains a rule that ensures security and confidentiality of customer information, protects against a
    7·2 answers
  • Check my work a(n) ________ reference is an automatically created variable that holds the address of an object and passes it to
    15·1 answer
  • 5-11) (Find the Smallest Value) Write an application that finds the smallest of several integers. Write a program which first as
    13·1 answer
  • WHO WANT P O I N T S.................................................
    9·1 answer
  • A DSS8440 server is equipped with one power supply that is failing and requires replacement. What is the correct sequence of ste
    13·1 answer
  • Jason Chang is creating photos of his restaurant for a new website. Some of the photos of the staff have red eye, others are bad
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!