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
LAB: Winning team (classes)
andrey2020 [161]

Answer:

The function is as follows:

def get_win_percentage(self):

       return self.team_wins / (self.team_wins + self.team_losses)

Explanation:

This defines the function

def get_win_percentage(self):

This calculates the win percentage and returns it to main

       return self.team_wins / (self.team_wins + self.team_losses)

<em>See attachment for complete (and modified) program.</em>

Download txt
6 0
3 years ago
30 points! Help me out, please! I need help with this!
White raven [17]

Answer:

Both are touchscreen.

Tablets are seen more as an entertainment device (tv, games, etc.).

Phones are smaller, and used more for everything; you can take phones anywhere you go, whereas tablets are more difficult to transport.

7 0
3 years ago
Having knowledge of the main parts of a computer: CPU, ALU, INPUT, OUTPUT ,and MEMORY Can you explain in simple for dummies what
Morgarella [4.7K]

Answer:

Explanation:

Great question, it is important to ask these questions in order to get rid of any doubts you may be having.

I will explain this as simply as possible in separate parts.

CPU: the CPU is the brain of the computer where all the information is received, processed, and sent from.

ALU: are the digital circuits inside the CPU used to perform all the arithmetic and logic operations

INPUT: are the commands given to the computer by the user.

OUTPUT: is the information displayed on the screen by the computer.

Memory: is the piece of hardware used to save all the information that is currently being used by the computer.

I hope this answered your question. If you have any more questions feel free to ask away at Brainly.

5 0
3 years ago
Joe wants to use pictures from the Internet in a word processing program. Which is the most important aspect that Joe should con
IrinaK [193]

Answer:

B. Copyright

Explanation:

Joe needs to consider the Copyright as it is the legal means of protection of an author's work; it is the intellectual property that provides exclusiveness to the author's work, which menas that all the content and work created by the author, and protected by copyright cannot be used or published by anyone else without the consent of the author. For that reason, if the picture used by Joe has copyright it cannot be used in his project.

5 0
3 years ago
Read 2 more answers
The international space station (iss) will be a ____ research laboratorya) russianb) japanesec)permanentd) temporary
Sedaia [141]
The ISS is

D) permanent
4 0
4 years ago
Other questions:
  • If you are in a crash where you are at fault and injuries have occurred, the Financial Responsibility Law requires you to have b
    5·1 answer
  • If a firm puts Internet-facing servers directly in the Internet, they are exposed to threats of attack from anywhere in the worl
    7·1 answer
  • What were the goals of the “paperless society” ideal?
    14·2 answers
  • A(n) __________ describes a set of well-defined logical steps that must be taken to perform a task
    5·1 answer
  • Imagine that you have a friend who has expressed interest in designing and programming video games. He loves to play video games
    10·1 answer
  • Some of your non-Windows clients aren't registering their hostnames with the DNS server. You don't require secure updates on the
    11·1 answer
  • The readline method reads text until an end of line symbol is encountered, how is an end of line character represented
    14·1 answer
  • Plz help, correct answer will get brainliest (if i can, if i can't ill still rate and give thanks)
    14·1 answer
  • First Computers and Technology question in 4 years..
    11·1 answer
  • Utilizando o padrão de medidas e unidades do National Institute of Standards and Technology, em que 1 KB é igual a 1.000 Bytes,
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!