I need to create a program in Java that:
1. Asks the user to enter the name of the input file containing heart rate measurements, and input the file name. .txt format
2. Ask the user to enter the name of the output file where the output HTML document will be saved, and input the file name
3. Open the input file by using a BufferedReader object
4. Open the output file by using a PrintWriter object
5. Output to the file the appropriate opening HTML tags
6. Output to the file the header row of the table
For each series of heart rates in the input file, do the following:
Input the series of numbers from the input file and store them in an array
Compute the minimum, maximum, and fitness quotient for the series
Output one row of the HTML table to the output file, with the fitness quotient, minimum and maximum heart rarates, and the list of heart rates
Output to the file the appropriate closing HTML tags
Close the input and output
dont need a solution, just help
1. Asks the user to enter the name of the input file containing heart rate measurements, and input the file name. .txt format
2. Ask the user to enter the name of the output file where the output HTML document will be saved, and input the file name
3. Open the input file by using a BufferedReader object
4. Open the output file by using a PrintWriter object
5. Output to the file the appropriate opening HTML tags
6. Output to the file the header row of the table
For each series of heart rates in the input file, do the following:
Input the series of numbers from the input file and store them in an array
Compute the minimum, maximum, and fitness quotient for the series
Output one row of the HTML table to the output file, with the fitness quotient, minimum and maximum heart rarates, and the list of heart rates
Output to the file the appropriate closing HTML tags
Close the input and output
dont need a solution, just help
Comment