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
deff fn [24]
3 years ago
15

write a program that asks the user how far they ran and then how long they ran and prints out their speed in miles per hour java

script
Computers and Technology
1 answer:
BaLLatris [955]3 years ago
6 0

Answer:

var distance = prompt("How far did you run? in miles");

var time = prompt("How long did you run? in hours");

function calSpeed(miles, hours){

   var speed = miles / hours;

   console.log(speed,"m/h")

calSpeed(distance, time);

Explanation:

The javascript uses the prompt function to get user inputs for the distance and time variables. The calSpeed function calculates and prints out the speed of the runner with the arguments, distance and time.

You might be interested in
Pressing the Ctrl+Home keys moves the insertion point to the
rewona [7]
I'm going to go with A
5 0
3 years ago
In addition to analyzing logic and program code, a project team usually holds a session with users, called a ____ walkthrough, t
Nikolay [14]

Answer: B) design

Explanation:

  • Design walk-through is the method done while designing codes through which assurance regarding validity and accuracy of design is evaluated.
  • Reviewing of codes design ,content ,GUI(Graphical user interface) design and production processing components are done at this stage.This steps gives the surety about all the decision and features are correct and quality is maintained.
  • Other options are incorrect because unit walk-through is reviewing the complete unit or system.Testing walk-through and user walk-through are not the technical term of engineering field.
  • Thus, the correct option is option(B).
8 0
3 years ago
What includes two or more private, public, or community clouds, but each cloud remains separate and is only linked by technology
Ilya [14]

Answer:

hybrid cloud

Explanation:

hybrid cloud is a cloud environment that employs both public and private cloud services.

Hybrid cloud gives businesses more flexibility and greater efficiency in coverage due to its ability to move files between public and private cloud.

7 0
3 years ago
A date for creation or revision<br> is mandatory for all web pages?
rewona [7]

Answer:

I do believe so

Explanation:

Most websites have this, as far as I know

5 0
2 years ago
Explain the need for data structures when developing software.
Sergio [31]

Solution:

It is  important because, it has to do operation on so without, data structures and algorithms.

It performs these operation:  

 1)Take an input

2) Process it  

3) Give back the output.

The input can be in any form, for ex while searching for directions on google maps,  the starting point and the destination as input to google maps, while logging in to any social sites, We have to give our email and password as input and so on.

Similarly, in the third step, the computer application gives us output in some form or the other.

To make this process efficient, we need to optimize all the three steps.

4 0
3 years ago
Other questions:
  • What layer uses the UDP protocol
    6·1 answer
  • For Official Use Only (FOUO) and Controlled Unclassified Information (CUI) may include all of the following except: (circle one)
    13·1 answer
  • Explain any two computer technologies that has improved e commerce
    11·1 answer
  • Which of the following is a scam where perpetrators promise high pay for working on different projects like wooden calendars, pa
    13·1 answer
  • Options to open, save, and print a document are found on which of the following tabs?
    9·2 answers
  • Hey how are yall today?
    12·2 answers
  • Gigantic Life Insurance is organized as a single domain. The network manager is concerned that dividing into multiple domains to
    15·1 answer
  • A computer projecter is an example of a(n):<br> Input Device<br> Output Device<br> Storage Device
    12·2 answers
  • Create a presentation on “Pets” and customize your presentation in the following ways:
    10·1 answer
  • When adopting and implementing a software as a service (saas) platform such as salesforce for your business, which responsibilit
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!