Question: in Java Exercise-1 (50 points): The file RainFall.txt in the lab-05 content on blackboard contains the rainfall amount for each of 12 months for Texas
in Java


Exercise-1 (50 points): The file RainFall.txt in the lab-05 content on blackboard 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. 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. 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 Deceber 1.13
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
