Unit 4: Lesson 2 - Coding Activity 1
Ask the user for two numbers. Print only the even numbers between them. You should also print the two numbers if they are even.

Starter code:
import java.util.Scanner;

public class U4_L2_Activity_One{
public static void main(String[] args){

Scanner scan = new
Scanner(System.in);
System.out.println("Enter two numbers:");
int num1 = scan.nextlnt();
int num2 = scan.nextlnt();
while (num1 <= num2){
if (num1 %2==0){
system.out.print(num1="");
}
num+=1;
}
}
}