COMP 328 Lab 5 Java IOCOMP 328 Lab 5Java IODo this programming exercise after completing Homework 5 Topic 3 Introduction to Java.1.Write a Java application that inputs three integers from the user and displays the sum, average, product, smallest and largest of the numbers. Use a Scannerobject to get the input from the user. Use System.outor System.out.printf, as necessary, to output the results. The average should be a floating point result, and should be displayed with two digits after the decimal point.1.1.When you have tested your program and are sure it is working correctly, print out the source file, demonstrate it to your instructor or F.A., get a sign-off on the printout and put it here (RIGHT HERE – NOT ATTACHED – use a page break in Word and simply insert the printout here, physically, before attaching the remainder of this report and stapling it).1.2.Run the program with the following input, then copy and paste the output here.Input these three numbers: 1234, 567 and 91.2.Write a variation of the Java application from problem 1, this time using
This is the end of the preview.
access the rest of the document.