Write a Java program to enter the numbers till the user wants and at the end the program should display the largest and smallest numbers entered
Introduction In this demo I have used NetBeans IDE 8.2 for debugging purpose. But you can use any java programming …