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
Universal Containers (UC) is currently live with Sales Cloud and in the process of implementing Service Cloud. UC wants to creat
lora16 [44]

Answer:

  1. <u>Partial Copy Sandbox,</u>
  2. <u>Full Sandbox,</u>
  3. <u>Developer k Pro Sandbox</u>

Explanation:

Note that, cloud services are made possible by computer programming, and <em>soundboxes are used by Software developers to test new programming code before implementation</em>.

Therefore, for UC to successfully test its Service Cloud implementation with real Sales Cloud data this three soundboxes are best suitable.

3 0
3 years ago
The component of an information system consisting of raw facts is the definition for which of the following?
julsineya [31]

Answer:

The answer to this question is: Information

An information system is a set of command that i used to analyze available information in order to create a better decision for the company.

Which means that information will not be able to do any function of it does not possess the initial information, to begin with, so we can conclude that information is a major component of the information systems. hope this makes sense in your mind lol

Explanation:

4 0
3 years ago
Read 2 more answers
There are 4 fruits apples,oranges,bananas and grapes. Each student can pick up 2 fruits.There are some conditions which have to
bekas [8.4K]

Answer:

start→ randomly pick a fruit from the list→ if the first fruit is 'apple', pick 'banana', else if 'orange', pick 'grape', else if 'grape', pick 'banana'→ print second fruit→end.

Explanation:

To pick a second fruit, some conditions have to be met,

  • if you pick an apple, the second fruit should be a banana.
  • if you pick an orange, the second fruit should be a grape.
  • if you pick a grape, the second fruit should be a banana.

4 0
4 years ago
Free poi nts here you go
tatuchka [14]

Explanation:

<em>Thank</em><em> </em><em>you</em><em> </em>

<em>Bye</em><em> </em><em>and</em><em> </em><em>have</em><em> </em><em>a</em><em> </em><em>great</em><em> </em><em>day</em><em> </em>

4 0
3 years ago
Hazel has just finished adding pictures to her holiday newsletter. She decides to crop an image. What is cropping an image?
NeTakaya
Cropping an image is resizing it to different ratios to suit your needs.

4 0
3 years ago
Other questions:
  • When you develop an application using a 3-layer architecture, the layer that provides the user interface is called the _____ lay
    13·1 answer
  • If a disk drive has 8 surfaces and there are 1024 tracks per surface with 256 sectors per track and 512 bytes/sector. What is th
    9·1 answer
  • Most internet connections use what transmission
    13·2 answers
  • What is an advantage and disadvantage to file compression
    8·1 answer
  • Proofreaders' marks are:
    6·1 answer
  • Which of the following statements is true about DVI connectors? *
    10·1 answer
  • Who Invented Abacus!
    15·1 answer
  • Which of the following is a document view you can select using Button on the status bar?
    11·1 answer
  • How to make classs constructer java.
    14·1 answer
  • Since data-flow diagrams concentrate on the movement of data between processes, these diagrams are often referred to as: A. flow
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!