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
PilotLPTM [1.2K]
3 years ago
6

Write a javascript program that reads three integers named start, end, and divisor from three textfields. your program must outp

ut to a div all the integers between start and end, inclusive, that are evenly divisible by divisor. the output integers must be separated by spaces. for example, if a user entered 17, 30, and 5, your program would output "20 25 30" (without the quotes) because those are the only integers between 17 and 30 (including 17 and 30) that are evenly divisible by 5.

Computers and Technology
2 answers:
Karolina [17]3 years ago
7 0
Please take down this question.  It is a test question and posting it on this forum is considered cheating.
BartSMP [9]3 years ago
6 0

Answer:

The program to this question can be given as:

Program:

Code is given in image

Explanation:

The description of the above JavaScript program can be given as:

  • In the above program, we define a function that is "divide". Inside a function, several variables is define that is "n1,n2,n3, div, and i".
  • The n1, n2, and n3 variables are used for taking input from text-fields and use a for loop for calculating the range between n1 to n2 variable.
  • Inside a for loop we use if block that checks the range value is evenly divisible by 5.
  • After calculating value we use the div variable that prints value in div section which is used in HTML.

You might be interested in
Write a program to insert an array of letters (word), then arrange the letters in ascending order and print this array after the
xeze [42]

Answer:

def split(word):  

   return [char for char in word]

word = input("Enter a word: ")

chars = split(word)

chars.sort()

sorted = ''.join(chars)

print(sorted)

Explanation:

Here is a python solution.

8 0
3 years ago
Kyra needs help deciding which colors she should use on her web page. What can she use to help her decide?
german
The correct answer is the first one : a. Colour selection
7 0
3 years ago
Read 2 more answers
The smaller RAM a computer has, the more software you can have open without impacting the speed of your computer
dsp73
False, forsure mates but gotta love the question:)
4 0
3 years ago
Which of the following functions and expressions will convert the ASCII character "Z" to its numeric equivalent ASCII code?
professor190 [17]

Answer:

The answer is "Option a"

Explanation:

In Python, ord() function takes the length string 1 as a parameter and returns the representation of the passed argument for the Unicode point. For example, ord('Z') return value 90 that is a Unicode code value of character 'Z'. and other function is not correct that can be described as follows:

  • In option b, Inside the ord function chr function is used that accepts only numeric value that' why it is not correct.
  • In option c, Inside the chr function ord function is used that cover value in lower case that's why it is not correct.
  • In option d, The chr function accepts only numeric value that's why this option is not correct.

3 0
4 years ago
A company wants to implement a wireless network with the following requirements:
jarptica [38.1K]

Answer:

PEAP is the correct answer to the given question .

Explanation:

The  PEAP are implemented to meet the demands because it is very much identical to the EAP-TTLS design also it includes the server-side PKI authentication .

  • The main objective of  PEAP is to establish the protected TLS tunnel for protecting the authentication process, as well as a server-side encryption authentication.
  • The PEAP  is also used for validating the application it validating her process with the help of the TLS Tunnel encryption between the user and the verification.
  • All the other options are not suitable for the  to meet the requirements of the design that's why these are incorrect option .
3 0
3 years ago
Other questions:
  • Assume that we would like to expand the MIPS register file to 128 and keep the size of all other fields as in the original MPIS
    7·2 answers
  • Edhesive 4.1 question 1
    9·1 answer
  • What is one reason to create a study check list​
    7·1 answer
  • Which of the following can you not code in a subclass? Select one: a. a method with the same signature as a method in the superc
    13·1 answer
  • To move or copy a range of cells, select the correct order:
    5·1 answer
  • The purpose of a database is to help people stop using spreadsheets.
    10·1 answer
  • Consider legal issues and intellectual property concerns when creating computer programs?
    11·1 answer
  • Why do we create user accounts to customize our preferences​
    10·1 answer
  • What is a list of things we use programming for??? longest gets brainly
    5·1 answer
  • What does the following code print? time_of_day = ["morning", "afternoon", "evening"] for word in time_of_day: print "Good " + w
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!