subject
Engineering, 05.05.2020 15:01 officialalex6330

that reads a text file fun. txt. Then it counts the how many times each letter (within the alphabet) is occurring in the file. It also counts how many times each digit is also occurring in the file. Finally, your code should also count how many times the word "no" is occurring in the file. Then your program should show the results in console as well as write the result into a file result. txt. The output has to be in the following format. Note that if a letter is upper case, you might need to convert it into lowercase. For example, for the given fun. txt file you will get the the following result: a 8 b 2 c 6 d 14 e 22 f 1 g 0 h 11 i 12 j 0 k 1 l 1 m 6 n 10 o 17 p 2 q 0 r 7 s 6 t 17 u 4 v 2 w 8 x 0 y 2 z 0 === 0 0 1 2 2 1 3 1 4 0 5 0 6 1 7 0 8 0 9 0 no count is 2Hint: Use an int array of size 26 to store your letter counts and use another array for size 10 to store the digit counts

ansver
Answers: 3

Another question on Engineering

question
Engineering, 03.07.2019 14:10
If the thermal strain developed in polyimide film during deposition is given as 0.0044. assume room temperature is kept at 17.3 c, and thermal coefficient of expansion for the film and the substrate are 54 x 10^-6c^-1 and 3.3 x 10^-6c^-1respectively. calculate the deposition temperature.
Answers: 3
question
Engineering, 04.07.2019 18:10
Burgers vector is generally parallel to the dislocation line. a)-true b)-false
Answers: 2
question
Engineering, 04.07.2019 18:10
You are making beer. the first step is filling the glass carboy with the liquid wort. the internal diameter of the carboy is 15 in., and you wish to fill it up to a depth of 2 ft. if your wort is drawn from the kettle using a siphon process that flows at 3 gpm, how long will it take to fill?
Answers: 1
question
Engineering, 04.07.2019 18:20
Ahe-xe mixture containing a 0.75 mole fraction of helium is used for cooling electronics in an avionics application. at a temperature of 300 k and atmospheric pressure, calculate the mass fraction of helium and the mass density, molar concentration and molecular weight of the mixture. if the cooling capacity is 10 l, what is the mass of the coolant?
Answers: 3
You know the right answer?
that reads a text file fun. txt. Then it counts the how many times each letter (within the alphabet)...
Questions
question
Mathematics, 27.09.2019 09:00
question
English, 27.09.2019 09:00
Questions on the website: 13722367