PLEASE complete this in java. Write a program that prompts the user to enter a file...

Question:

Write a program that prompts the user to enter a file name and displays the occurrences of each letter in the console window and in a file. Letters are case insensitive. Use “USAconst.txt” for input and “letterCount.txt” for output. Use try- catch blocks to handle checked exceptions. Here is a sample file output: is ወ The ወ ው The Enter file name: USAconst.txt The occurrence of A's is 2675 The occurrence of B's is 612 The occurrenc The occurrence of D's is 1230 currenc 5107 The occurrence of F's is 1021 The occurre 444 The occurrence of H's is 2029 The occurrenc 2433 The occurrenc 96 occurrenc 53 The occurrence of L's is 1490 The occurrence of M's is 730 The occurrence of N's is 2630 The occurrenc 2729 The occurre 767 The occurrence of Q's is 46 The occurrenc 2206 The occurrence of S's is 2676 The occurrenc 3751 The occurre 848 The occurre 460 The occurrence of W's is 375 The occurrence of X's is 97 The occurrence of Y's is 504 The occurrence of Z's is 31 nnnnnnnnnnnnnnnnnnnnnnnn ወ ወ ወ ወ ወ

Similar Solved Questions

Is this molecule acidic or basic?
A)Metronidazole B) Which group will more readily undergo hydrolysis-ester or carbonate if they are in the same molecule?...
A palindrome is an integer that reads the same forward and backwards
A palindrome is an integer that reads the same forward and backwards. For example, 31213 is a 5 digit palindrome. How many 3 digit palindromes are even? (A) 30 (B) 36 (C) 40 (D) 45 (E) 50...
Question 12 Assuming a discount rate of 7.25%, in how many years' time will R7 000...
Question 12 Assuming a discount rate of 7.25%, in how many years' time will R7 000 be worth R20 000? (1) 9 years (2) 10 years (3) 13 years (4) 15 years (5) 20 years...
Profit maximizing firms will increase production of their product up to the point where AVC =...
Profit maximizing firms will increase production of their product up to the point where AVC = ATC. O P = ATC. OP=AVC. MR = MC....
Question 2 2.5 pts When a capacitor C stored in it? 50μF is charged to 25...
Question 2 2.5 pts When a capacitor C stored in it? 50μF is charged to 25 volts, how much electric charge (in unit of micro columb) is...
~ 〉' b, sin a. Find the Fourier coefficients for the function f(x)=| 7, 2 0 x〉 2 ~ 〉' b, sin a. Find the Fourier coefficients for the function f(x)=| 7, 2 0 x〉 2
~ 〉' b, sin a. Find the Fourier coefficients for the function f(x)=| 7, 2 0 x〉 2 ~ 〉' b, sin a. Find the Fourier coefficients for the function f(x)=| 7, 2 0 x〉 2...
Please set eval = FALSE in the codechunk of your RMarkdown, as the output for this...
Please set eval = FALSE in the codechunk of your RMarkdown, as the output for this question will be too lengthy. In R, use set.seed (35135) and then the rnorm) command to generate 80,000 standard normally distributed observations. Put those values into a matrix with 400 rows and 200 columns. Now fit...
Explain the stakeholders theory of a firm?
Explain the stakeholders theory of a firm?...
Example of a map on how to develped a markitnplan for healthacarenfacility
example of a map on how to develped a markitnplan for healthacarenfacility...
REVIEW SHEET FOR E2 IN CHEM 3153, OCTOBER 27, 2019 Draw the structure for the MAJOR...
REVIEW SHEET FOR E2 IN CHEM 3153, OCTOBER 27, 2019 Draw the structure for the MAJOR ORGANIC PRODUCT form each reaction. Assume the reactions have been terminated and neutralized. a. R-COR + DIBAL-H in hexane/-78 'C ------------ OR 1. CO2 b. Ph-Br + Mg/ether - -> 2. H,0* THE c. methyl butanoat...
11. (5 pt) For a 1 mCi sample, what is the activity of 18F in Bq?...
11. (5 pt) For a 1 mCi sample, what is the activity of 18F in Bq? 18F decays by positron emission with a half-life of 109 minutes. a. 3.7 x 104 Bq b. 3.7 x 107 Bq c. 3.7 x 1010 Bq d. 2.7 x 10-3 Bq e. 2.7 x 10-11 Bq...
You have a bottle of water. The water has a mass of 35 grams. You heat...
You have a bottle of water. The water has a mass of 35 grams. You heat the water with 125 calories of heat and the final temperature of the water is 42°C. What was the initial temperature (in Celsius) of the water before you added the heat? The specific heat of water is 1 calorie / (°Cg)....
With reference to the circuit shown below, think superposition and find that part of VI() due...
With reference to the circuit shown below, think superposition and find that part of VI() due to the voltage source acting alone. Round your final answers to two decimal places. Leave any angle 0 as 0% 0 360°. 1.1 2 0.8 mF 1.1? 1 mH 30 cos 500 t 20 sin 500 t COS t +...