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
Based on these statements:
Mekhanik [1.2K]

Answer

False

Because, we are only given the color of two flowers, the garden probably has a lot more flowers that aren't mentioned

Explanation:

4 0
3 years ago
Read 2 more answers
Use this illustration to answer the question.
Mademuasel [1]

Answer:

very high voltage hope this helps

Explanation:

4 0
3 years ago
Which image format is good for compressing large, complex images like photos into smaller file sizes?
spin [16.1K]

The correct image format is JPEG


3 0
3 years ago
In a typical automotive engine, the piston contains _______ compression ring(s).
jasenka [17]
It has 2 compression rings and 1 oil ring
7 0
3 years ago
A social studies teacher weighs scores on tests at 50 percent, homework at 30 percent, and class participation at 20 percent. Wh
ludmilkaskok [199]

Answer:

It is D because I'm right and if your wrong you are wrong

Explanation:

no need

3 0
3 years ago
Read 2 more answers
Other questions:
  • The central processing unit​ (cpu) works in conjunction with​ ________ to perform processing.
    5·1 answer
  • Visual-verbal synergy has nothing to do with text, but solely with images used in a design.
    9·1 answer
  • Speech about society being normal
    12·1 answer
  • Create and test a user-defined function named ufnFullName that combines the values of the two parameters named FirstName and Las
    15·1 answer
  • Question Mode Matching Question Match the following description with the appropriate programming language generation. 1GL 1GL dr
    7·1 answer
  • Give at least five (5) practices that you must observe in your classroom.​
    13·2 answers
  • The amount of data that can be stored on a disk depends in part on_____.
    13·1 answer
  • Which of these lights is NOT part of the standard three-point lighting setup?
    5·1 answer
  • Why is it important to recognize the proper boundaries or limits of algorithms?
    14·1 answer
  • A customer uses an app to order pizza for delivery. Which component includes
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!