Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Joline Morrison, Mike Morrison

2nd Edition

? 061906448X, 978-0619064488

More Books

Students also viewed these Databases questions

Question

What is an opportunity?

Answered: 1 week ago

Question

How wide are Salary Structure Ranges?

Answered: 1 week ago