Program 1: Write a program that asks the user to enter five floating-point numbers. The program should create a file and save all five numbers to the file.
Program 2• The program should open the file created in Program 1 and ask the user to enter another five floating-points numbers and save all five numbers to the file, calculate the average of all ten numbers in the file and finally display the average and save the average to the file.