Write an application that prompts a user for two integers and displays every integer between them. Display
Fantastic news! We've Found the answer you've been seeking!
Question:
Write an application that prompts a user for two integers and displays every integer between them. Display There are no integers between X and Y if there are no integers between the entered values. Make sure the program works regardless of which entered value is larger.
-------------------------------------------------------------------------------------------------
import java.util.Scanner;
public class Inbetween {
public static void main (String args[]) {
// Write your code here
}
}
Related Book For
Posted Date: