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
Please respond not with answer but with comment.
aksik [14]

Answer:.I used to play it but now I don’t;—;

Explanation:

4 0
3 years ago
A(n) ______ has moving mechanical parts, which makes it less reliable than solid-state drives, but its metal platters are sealed
Jobisdone [24]
Optical drive

Disks can scratch
6 0
3 years ago
Read 2 more answers
What happens if you give false information on your driver license application?
Artist 52 [7]

Answer:

<em>Cancelled</em>

Explanation:

Providing false information on your driver license application will result in your license being cancelled.

Giving the DMV any false info is considered a crime.

Hope this helped!

6 0
3 years ago
The physical elements needed for the production of digital media, such as computers, servers, and so on are called the {Blank}
deff fn [24]
They are called the hardware
8 0
3 years ago
Algorithm of how to calculate the area of a square.
USPshnik [31]

Answer:

In order to calculate area of a square, 'A' be the area of square and the length of the square be 'a'. Then we need to calculate A= a*a. Step 2 :- Accept as input, the length of the sides of the square, and store the value in variable a. Step 3 :- Calculate the area of the square (a*a) and store in a variable A.

Explanation:

3 0
2 years ago
Read 2 more answers
Other questions:
  • You want to plug a keyboard into the back of a computer. you know that you need to plug the keyboard cable into a ps/2 port. whi
    9·1 answer
  • How can the Column settings be accessed?
    12·2 answers
  • An individual is first with the network before they are authorized to access resources on the network A. countermeasure B. vulne
    11·1 answer
  • Match the part of motherboard to its function
    15·1 answer
  • How can a user view the options for Junk E-mail?
    11·2 answers
  • When you align or size a group of selected controls, the changes are made relative to the
    14·1 answer
  • ________ is a dedicated device designed to manage encrypted connections established over an untrusted network such as the Intern
    12·1 answer
  • PLZ help
    5·1 answer
  • Hello,
    13·1 answer
  • Actividades que puedes Aser con un martillo y su explicación
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!