Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 yearStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started