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
Readme [11.4K]
3 years ago
6

Can you find the reason that the following pseudocode function does not return the value indicated in the comments? // The calcD

iscountPrice function accepts an item’s price and // the discount percentage as arguments. It uses those // values to calculate and return the discounted price. Function Real calcDiscountPrice(Real price, Real percentage) // Calculate the discount. Declare Real discount = price * percentage // Subtract the discount from the price. Declare Real discountPrice = price – discount // Return the discount price. Return discount End Function
Computers and Technology
1 answer:
Alexus [3.1K]3 years ago
5 0

Answer:

see explaination

Explanation:

Function Real calcDiscountPrice(Real price, Real percentage) // Calculate the discount.

Declare Real discount= (price * percentage) / 100.0 // Subtract the discount from the price.

//dividing by 100.0 because of % concept

Declare Real discountPrice = price - discount // Return the discount price.

Return discount End Function

You might be interested in
I am needing help with this homework of mine.
KengaRu [80]
It doesn’t show nothing in the picture
8 0
3 years ago
How does the issue of cybersecurity relate to the internet of things?.
RideAnS [48]

Answer:

Due to the communication of IoTs to the internet, cybersecurity is a great concern when creating and securing that communication.

Explanation:

When connecting devices to the internet, it essentally can be accessed from anywhere. Therefore you would need cyber security to protect each device and its assets from getting into the wrong hands.

Hope this helps :)

5 0
3 years ago
Element primer a partir del qual es generarà l'energia central solar fotovoltaica
Juliette [100K]
No speak a Spanish ............
7 0
3 years ago
Sentiment analysis algorithms use simple terms to express sentiment about a product or service, so ________ makes it __________
Anna35 [415]

Answer:

sarcasm , difficult

Explanation:

Sarcasm make it difficult to classify online content as positive ,negative or neutral because sarcasm content had many meaning and it involve some humor also which make it difficult weather to classify as positive or negative or neutral.

5 0
3 years ago
As a student, why do you need to know and follow the steps printing a <br><br>document?​
Kazeer [188]
So I am able to print my math notes and keep up in geometry.
7 0
3 years ago
Read 2 more answers
Other questions:
  • Are sql injections legal?
    15·1 answer
  • As you move the click and type pointer around the document, the icon changes to represent ____________________ that will be appl
    10·2 answers
  • Which of the following is NOT a MySQL table storage engine?
    6·1 answer
  • How do you represent the decimal integer 50 in binary?
    14·1 answer
  • What things have small motors
    13·1 answer
  • A collection is a container object (data structure) that represents a group of objects often referred to as data or elements of
    6·1 answer
  • Have you ever tried to learn a new language or do you have friends who've had that experience? What are some of the steps you wo
    10·2 answers
  • This my question for programming class
    10·1 answer
  • Select the correct text in the passage.
    12·1 answer
  • What type of error occurred??
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!