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
babunello [35]
3 years ago
12

You are splitting up all your apples equally between 3 people. which statement below will calculate how many apples will be left

over ?
a. var leftOver = numApples / 3;


b. var leftOver = 3/ numApples;


c. var leftOver = numApples % 3



d. var leftOver = 3% numApples
Computers and Technology
1 answer:
yarga [219]3 years ago
7 0

Answer:

The correct answer is:

c. var leftOver = numApples % 3

Explanation:

JavaScript uses different operators to perform various mathematical functions. In mathematics, when a number is not completely divisible by other the answer contains the remainder and quotient.

Modulus operator is used in JavaScript to find the remainder.

For example,

20/3 will return the quotient which is 6 while

20%3 will return the remainder which is 2

In the given statement, we have to find the number of remaining apples after being divided into three people

So,

Number of apples mod 3 will give us the number of remaining apples.

Hence,

The correct answer is:

c. var leftOver = numApples % 3

You might be interested in
I need help with cisco please
Dmitry [639]

A cisco develops, manufactures and sells networking hardware, software, telecommunications equipment and other high-technology services and products. ... They pioneered the concept of a local area network (LAN) being used to connect geographically disparate computers over a multiprotocol router system.

Hope that helps.

4 0
3 years ago
Difference between server and a client computer
maw [93]

Answer:

A server stores data for a client computer to access and use, and pretty self eplanitory for a client computer

Explanation:

5 0
3 years ago
Organizations should communicate with system users throughout the development of the security program, letting them know that ch
Fed [463]

Answer:

Yes it is true.The organization should indeed communicate with a system user throughout the development of a security program. A corporation needs a security policy that must be developed by management at all levels, including organization and employees at the operational level. For a corporate security plan, it is essential to reduce the resistance of the expected changes and define the objective.

Explanation:

Three objectives of the security plan in an organization are:

  • Identify the sensitive system and plan
  • Create and define the strategy and control of the system.
  • Develop and implement the training programs.

Security Information is one of the essential factors in the organization.For an organization, the information should be protected.

7 0
3 years ago
Which parts of the forebrain are sometimes described as the “executive center” and can be likened to the central processing unit
8_murik_8 [283]

I guess the correct answer is Frontal Lobes

Thе frοntal lοbе is thе part οf thе brain that cοntrοls impοrtant cοgnitivе skills in humans, such as еmοtiοnal еxprеssiοn, prοblеm sοlving, mеmοry, languagе, judgmеnt, and sеxual bеhaviοrs. It is, in еssеncе, thе “cοntrοl panеl” οf οur pеrsοnality and οur ability tο cοmmunicatе.

6 0
4 years ago
In computer security, the term "Dumpster diving" is used to describe a practice of sifting through trash for discarded documents
givi [52]

Answer:

TRUE

Hope this helps ;)

6 0
3 years ago
Other questions:
  • Luentifying message rullidl Upuuns
    12·1 answer
  • Every page on a website must be updated recently to consider the website updated/maintained
    13·2 answers
  • You would like to conduct a survey and ask your web page visitors to indicate the computer operating systems that they use. Each
    10·1 answer
  • Signs of mastery include?
    10·1 answer
  • Weak Induction
    8·1 answer
  • What is application launchers functions​
    15·1 answer
  • Calculator and clocks are examples of -------------- in windows 7
    14·1 answer
  • Assume we are using the simple model for floating-point representation as given in this book (the representation uses a 14-bit f
    7·1 answer
  • A. Why are the data known as raw facts? Explain.​
    14·2 answers
  • What is a program that includes a function parameter capable of doing?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!