Write a program called max min avg gui


Two seperate simple java programs.

1) Write a program called MaxMinAvgGUI.java that uses a GUI with five(5)text fields that asks the user to enter 5(five) decimal numbers. 1(one)number in each text field. And 3(three) diferent buttons to find the maximum, minimum and average.(button 1(one) for maximum button2(two) for minimum and button3(three) for average. The output should appear in a text field. the text field label needs to change to indicate the type of result(maximum,minimum and average) and also show the five original numbers entered (do not use math min or max methods) use a switch statement to process the menu items


2)Use an employee data file called employees.txt Must contain at least 5 employee records. Each record stores the employee ID number (six digits) last name,first name,middle inital,gender(m or f), and date of birth string (mm/dd/yyyy) Write a java program called Employees.java that reads the data from the employees.txt file and outputs the number of male and female employees. Use the Scanner class for input

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Write a program called max min avg gui
Reference No:- TGS0143643

Expected delivery within 24 Hours