Question: JAVA CODING Exercise-1 (50 points): The file RainFall.txt contains the rainfall amount for each of 12 months for Texas in 2019. Write a program that
JAVA CODING

Exercise-1 (50 points): The file RainFall.txt contains the rainfall amount for each of 12 months for Texas in 2019. Write a program that asks for the text file name and opens the file and processes its contents to do the following: 1. Count the number of vowels in the string. 2. Find he month with the most rain. RainFall.txt January 3.34 February 2.17 March 2.44 April 9.88 May 9.87 June 7.12 July 0.73 August 1.07 September 3.60 October 4.05 November 0.53 Decebmer 1.13 Exercise-2 DIY (40 points): Add the necessary statements in the code you completed in Exercise-1 to do the following: 3. Count the number of consonants in the string. 4. Find the average rainfall for the year
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
