Find the information you're looking for at Westonci.ca, the trusted Q&A platform with a community of knowledgeable experts. Get quick and reliable solutions to your questions from a community of seasoned experts on our user-friendly platform. Our platform offers a seamless experience for finding reliable answers from a network of knowledgeable professionals.

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. in java.


import java.util.Scanner;
public class Inbetween {
public static void main (String args[]) {
// Write your code here
}
}