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

JAVA

Computers and Technology
1 answer:
ivolga24 [154]3 years ago
6 0

import java.util.Scanner;

public class JavaApplication57 {

   

   public static void main(String[] args) {

       Scanner scan = new Scanner(System.in);

       System.out.println("Enter two numbers:");

       int num1 = scan.nextInt();

       int num2 = scan.nextInt();

       while (num1 <= num2){

          if (num1 %2 == 0){

              System.out.print(num1+" ");

          }

          num1+=1;

       }

   }

   

}

I hope this helps!

You might be interested in
Selma writes the following four answers in her Computer Science examination.
REY [17]

Answer:

Interrupts.

Explanation:

A software can be defined as a set of executable instructions (codes) or collection of data that is used typically to instruct a computer on how to perform a specific task and solve a particular problem.

The four (4) input-output (I/O) software layers includes the following;

I. User level software: it provides user programs with a simple user interface to perform input and output functions.

II. Device drivers: it controls the input-output (I/O) devices that are connected to a computer system through a wired or wireless connection.

III. Device-independent OS software: it allows for uniform interfacing and buffering for device drivers.

IV. Interrupt drivers (handlers): it is responsible for handling interruptions that occur while using a software on a computer system.

An interrupt is a signal from a program or device connected to a computer and it's typically designed to instruct the operating system (OS) that an event has occurred and requires an attention such as stopping its current activities or processes.

In conclusion, the computer term that Selma is describing is interrupts.

3 0
2 years ago
Read 2 more answers
Search engine ranking evaluates the variables that search engines use to determine where a URL appears on the list of search res
VARVARA [1.3K]

Answer:

True.

Explanation:

Search engines are evaluated on the basis of the variables which are used by the search engines to determine where the URL appears in the list of the search results.There are certain algorithms are also implemented using these variables like panda algorithm.So we conclude that the answer is True.

3 0
2 years ago
Jax needs to write a block of code that will organize a list of items alphabetically. Which function should he use? append() pri
rusak2 [61]

In python, the sort() function will alphabetically sort a list of strings

3 0
3 years ago
When creating an input control (for example, a button) on a form the _____________ indicates the data that is contained in the n
castortr0y [4]
Https://www.w3schools.com/tags/tag_input.asp
3 0
3 years ago
Help brainleist giving exam
Digiron [165]

Explanation:

11. True

12: Electronic Fund Transfer

13. True

14. I'm not sure but I think yes?..

(I'm not sure if your including number 15 but just in case, the full form of PIN is personal identification number)

4 0
2 years ago
Other questions:
  • Failure to verify information can lead to?
    10·1 answer
  • William has an internet connection that does not allow him to make calls when connected to the internet. what internet service c
    7·2 answers
  • In the accompanying figure, the split double arrow mouse pointer____.
    7·1 answer
  • IT investments can lead to developing IT capabilities and dynamic IT competencies, which can lead to achieving the following six
    5·1 answer
  • If an author is creating a reference list and wants the second and succeeding lines indented for a reference, they should select
    13·2 answers
  • What is the function of a breadcrumb trail website
    7·1 answer
  • The CMS Quarterly Provider Update (QPU) is an online CMS publication that contains information about __________ currently under
    14·1 answer
  • This project is to mimic a meeting request system by checking the requesting party’s validity, and the number of people attendin
    15·1 answer
  • Which line of code outputs the decimal portion of a float stored in the variable x? print (x % 1000) print (x) O print (x / 1000
    13·1 answer
  • How does the number of jobs in internet media compare to the number of jobs in tv broadcasting and print media?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!