Write a program to create a file named score.txt if it does not exist. Write 100 integers created randomly with the range [0-100], into the file using text I/O. Integers are separated by spaces in the file. Read the data back from the file and display the sorted data and average score.
2. Corrected_text: Write a program to read a string from the console (input from user), and then count the number of uppercase letters and lowercase letters within the string. Display the original string and the numbers.
3. Corrected_text: Write a GUI program, on which there are three fields for the user to enter the age, sex (M or F), and height. When the user clicks the button "Save", the corresponding data will be saved to a file called heightData.txt. The last text field will display "Wrong input!" if the user enters a non-numeric value for age or height, and display "Successful" after the user inputs are appropriate and correctly saved. The front view is shown as below:
Height eval..
X
Age: xex Height:
Save