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
I need help ASAP please and thank you!
nalin [4]

Answer:

Best: 1 or 4

Worst: 3

Explanation:

I'm not sure if number one is imply to ask your coworker to explain it or actually help with the workload. I think 4 would be the right answer because that is what they are there for and you don't want to distract your coworkers.

7 0
2 years ago
Anyone know how to fix this
gizmo_the_mogwai [7]

Put the mouse at the top of the black part and click and hold down, and then drag it down to the bottom. And don't feel embarrassed to ask somebody lol

3 0
3 years ago
What is hypertext? Whata search engine? What is IT?
Verizon [17]

Answer:

Hypertext is a text in a document which references some other link within the same page or another page.

Search engine is an information retrieval system from larger pool of resources.

IT is for information technology whereby with the help of systems and communication medium we are able to send, retrieve information from one place to another.

Explanation:

Some website page can contain hypertext which is a link to another page. These are simple text upon clicking it lands us to another page or a pop up activity.

Examples of search engine is google with which we can search and retrieve information from a large database servers.

IT governs the ways these information exchanges taking place between client and sender with help of systems(computers) and communicating medium(internet).

7 0
3 years ago
Read 2 more answers
If you add text, delete text, or modify text on a page, Word recalculates the location of automatic page breaks and adjusts them
Veronika [31]

Answer:

A. True

Explanation:

Microsoft word is a text format application used to create documents. As text are inputted in its pages, the words and characters are counted. when a page is full, microsoft word automatically breaks the page, creating another like a series of pages in a book.

As more text are added and deleted, the page break is adjusted to fit the remaining character space of that page.

4 0
3 years ago
Which of the following demonstrates how digital music are files played? An analog player changes the recording to digital, and s
Arada [10]

Answer:

An analog player changes the recording to digital, and sends the digital signal to a speaker to be played.

Explanation:

An audio signal can be defined as a representation of sound, either as an analog or digital signals.

An analog audio signal refers to a continuous signal that is represented by a changing level of quantity such as voltage with respect to time and sequence of bits such as 16kbps, 32kbps, 64kbps, 96kbps, 128kbps, 196kbps, and 320kbps.

Note: Kbps means kilobits per seconds.

On the other hand, a digital audio signal can be defined as the recording, storage and reproduction of sounds by encoding the audio signals in a digitized format.

An analog player is a type of audio player such as a turntable, which is designed to read informations as a continuous signal.

In order to play a digital audio or music files, an analog player changes the recording to a digital format and sends the digital signal to a speaker to be played.

A speaker can be defined as an electronic output device that is typically used for the conversion of an electromagnetic wave to sound wave.

Basically, this conversion is done through the help of a hardware electronic component known as transducers.

6 0
3 years ago
Other questions:
  • What is TCP/IP's Transport layer's primary duty?
    8·1 answer
  • What port number is the well-known port used by web servers to distribute web pages to web browsers?question 3 options:?
    6·1 answer
  • 30
    5·1 answer
  • Write a program in Python that reads in investment amount, annual interest rate, and number of years, and displays the future in
    6·1 answer
  • Suppose you can access the caches in the local DNS servers of your department. Can you propose a way to roughly determine the We
    14·1 answer
  • 4) Wilkes continues to discuss the concept of time and how it relates to the type of photography he does. Why do you feel that t
    12·1 answer
  • A digital forensic analyst examines the original digital source (e.g. computer, flash drive, backup tape) suspected of being inv
    5·1 answer
  • You receive an email that appears to legitimately be from your Bank. The email indicates the need for verification of your infor
    15·2 answers
  • Is a free verse a poetry that has no images
    5·2 answers
  • The Quick Search capability is found on which control?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!