Question
Write a java program that a. reads the provided 2 text files b. prints out the count of words, the number of times each vowel
Write a java program that
a. reads the provided 2 text files
b. prints out the count of words, the number of times each vowel appears, and the number of integers of each file (not case sensitive)
c. compare the 2 files line by line, and print any lines that are equivalent
text file 1
Software bug From Wikipedia, the free encyclopedia https://en.wikipedia.org/wiki/Software_bug
Some software bugs have been linked to disasters. Bugs in code that controlled the Therac-25 radiation therapy machine were directly responsible for patient deaths in the 1980s. In 1996, the European Space Agency's US$1 billion prototype Ariane 5 rocket had to be destroyed less than a minute after launch due to a bug in the on-board guidance computer program. In June 1994, a Royal Air Force Chinook helicopter crashed into the Mull of Kintyre, killing 29. This was initially dismissed as pilot error, but an investigation by Computer Weekly convinced a House of Lords inquiry that it may have been caused by a software bug in the aircraft's engine-control computer.
text file 2
Fibonacci number From Wikipedia, the free encyclopedia https://en.wikipedia.org/wiki/Fibonacci_number
In mathematics, the Fibonacci numbers, commonly denoted Fn, form a sequence, called the Fibonacci sequence, such that each number is the sum of the two preceding ones, starting from 0 and 1. That is,
F_{2}=2, F_{7}=7, and F_{n}=F_{n-5}+F_{n-6}
for n > 1. The beginning of the sequence is thus:
0,1,1,2,3,5,8,13,21,34,55,89,144,...
Step 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