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
seraphim [82]
3 years ago
14

Assume that a function with this header: function amountSaved(price, discountRate, salesTaxRate) already exists. Write a single

line of JavaScript code to call that function and assign the value returned from that function to a variable named saved.
Computers and Technology
1 answer:
Levart [38]3 years ago
4 0

Answer:

let saved = amountSaved(12, 0.9, 0.06);

Explanation:

By presuming there is a JavaScript function <em>amountSaved() </em>that takes three input parameters, <em>price</em>, <em>discountRate</em> & <em>salesTaxRate</em>.  To call the function, just simply write the function name, <em>amountSaved</em> followed with a pair of parenthesis. Within the parenthesis, include three testing values, 12, 0.9, 0.06 as arguments. These argument values will be held by the three parameter <em>price</em>, <em>discountRate</em> and <em>salesTaxRate</em>, respectively.

The function will operate on the three input values and return the result to the main program where the returned result is assigned to a variable name <em>saved</em>.

You might be interested in
Which of the following best describes what a long-term goal is?
melisa1 [442]
What are the options?
6 0
3 years ago
What are the two main things an operating system does?
FromTheMoon [43]
Hello,

A computers operating system manages the software and hard ware on the computer.

Thanks for using brainly.
4 0
4 years ago
write the cell address for the following 1. First row and first column 2.First column and last row. 3. 10th column and 19th row.
miss Akunina [59]

Answer:i am beging you pls answer my qustion

Explanation:

8 0
4 years ago
.- Una tienda de vestidos de fiesta, ofrece un descuento a las personas
elena55 [62]

ajaaaieisslslqlqlqqpqlkek3k2l2ll2llllww

4 0
3 years ago
There are many reasons to convert to the decimal numbering system. Select the best answer. When checking numeric values in compu
ludmilkaskok [199]

Answer:

first statement makes most sense.

Explanation:

When checking numeric values in computer memory, decimal makes sense because you use decimal numbering every day. --> sounds OK.

When checking words in computer memory, decimal makes sense because you use decimal numbering every day.  --> doesn't make sense

When comparing values in a computer program, decimal numbering makes sense because it is always shorter than hexadecimal. --> Not true

When checking words in computer memory, decimal numbering makes sense because it is easier than hexadecimal. --> Hexadecimal would be easier when inspecting computer words, because you can easily see the byte alignment of the values.

4 0
3 years ago
Read 2 more answers
Other questions:
  • g Create a public non-final generic class called YourSimpleLinkedList. You should extend SimpleLinkedList which is parameterized
    10·1 answer
  • 13. What is the suggested rpm on a hard drive for a laptop?
    12·1 answer
  • What is an individual piece of data called in a database? coding A field B file C record or D tittle
    9·1 answer
  • Answer the following questions:
    7·1 answer
  • What is considered Tim Berners-Lee's greatest contribution to the World Wide Web?
    5·1 answer
  • 7.1 What is the basic building block of an 802.11 WLAN? 7.2 Define an extended service set. 7.3 List and briefly define IEEE 802
    5·1 answer
  • I need topics/suggestions for a highschool survey.
    6·1 answer
  • Alyson would like to see a list of all of the applications installed on her computer. What is the easiest way for her to do this
    8·1 answer
  • 1. Import it into Eclipse. Open the file in Eclipse 2. Edit the file to add comments to identify the instance variables, constru
    9·1 answer
  • Help ASAP
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!