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
yaroslaw [1]
3 years ago
5

On the first line, place your name in a comment. Create a program that does the following: Take in three integer numbers from th

e user Calculates the sum of the three numbers Calculates the average of the three numbers The calculated average must be displayed as an integer value (e.g. if the sum of the three values is 7, the average displayed must be 2, not 2.3333) Calculates the product of the three numbers Report the sum, average, and product back to the user with formatted output
Computers and Technology
1 answer:
Helen [10]3 years ago
8 0

Answer and Explanation:

//buchi

Var firstNumber=prompt("please enter first number");

Var secondNumber=prompt("please enter second number");

Var thirdNumber=prompt("please enter third number");

Var numberTotal=firstNumber+secondNumber+thirdNumber;

Function calculateNumbers(){

return numberTotal;

return int(numberTotal/3);

return firstNumber*secondNumber*thirdNumber;}

Console.log(calculateNumbers());

You might be interested in
Who would use a magnetic hard drive? Give a scenario and include examples as well as detail.
dybincka [34]
A magnetic hard drive well all hardrives have a magnet n them id say if it was to withstand heat so it whould stay on the magnet therefore not compromising the data <span />
3 0
4 years ago
Consider the following code example:
vampirchik [111]

Answer:

This exercise includes the following question and options:

What is the logical error in the coded query?

A) <em>The condition in the WHERE clause should be coded in the HAVING clause.</em>

B) <em>The column name for the fifth column in the result set doesn't match the data.</em>

C) <em>The three columns in the ORDER BY clause should use the DESC keyword so the city totals will be in the right sequence.</em>

D) <em>The condition in the HAVING clause should be coded in the WHERE clause.</em>

And from the options provided, the error is in the 5th column, due to the column name in that result series/group doesn't really coincide with the data, thereby the correct option is <em>B)</em>.

3 0
3 years ago
How do you calculate typing speed
Gwar [14]

Answer:

by how many word you type by minute

Explanation:

5 0
4 years ago
4. What is the formula for calculating the file size?
Verizon [17]
Step 2: Multiply total number of pixels by the bit depth of the detector (16 bit, 14 bit etc.) to get the total number of bits of data. Step 3: Dividing the total number of bits by 8 equals the file size in bytes. Step 4: Divide the number of bytes by 1024 to get the file size in kilobytes.
7 0
3 years ago
On the Visit screen, you will not see one of the following:
san4es73 [151]

Answer:

The answer is "Option b".

Explanation:

An access level denotes a set of data type permissions or restrictions, that reduces the access level, which is an effective way to reduce failure modes, debug time and system complexity. and other options are not correct, i.e. define as follows:

  • In option a, In some of the cases, the system provides security, which is responded by the server to check the Eligibility of user, that's why it is not correct.
  • In option c, The home address is always shown on the URL, that's why it is not correct.

8 0
4 years ago
Other questions:
  • Modern car odometers can record up to a million miles driven. What happens to the odometer reading when a car drives beyond its
    8·1 answer
  • Which statement about word processing software is true?
    11·1 answer
  • Darian has a gourmet cupcake business and needs a website to compete with the other bakeries in his area. He has a Google My Bus
    15·1 answer
  • If you want to copy data from one cel to another cell that is several rows down in a worksheet, which method should you use?
    11·1 answer
  • Which careers have the highest minimum experience requirement?
    14·1 answer
  • The compiler determines the parameterized type in a function template ___________.
    13·1 answer
  • What is the output of the below Java program?
    11·1 answer
  • When using the protection options in Excel 2016, what does the Protect Workbook function do?
    8·2 answers
  • What are the five generations of computers?​
    13·1 answer
  • Which of the following is a database concept that allows for storage and analysis for a dozen to billions of data points?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!