Language: Java create the Java code with the below criteria to beexecuted without errors: (20 points) a. You must use a while loopto get the teacher’s input for the number of iPads needed. b. Youmust use an if/else statement to ensure the number of iPads can’texceed 20. e. Provide the modified code or a screenshot of the codein Jdoodle. You are in charge of the school’s IT department andseveral classes are asking to by iPads for use in their classes.Based on the number of iPads each class requested, determine thetotal costs for each classroom. The only information given is thatthe
OR
OR