1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Iteru [2.4K]
4 years ago
6

Write a program in C!!!!!! that reads a text file fun.txt. Then it counts the how many times each letter (within the alphabet) i

s 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
Engineering
1 answer:
lana [24]4 years ago
8 0

Answer:

a

Explanation:

You might be interested in
Which of these analysis methods describes neural computing? a. historical if-then-else cases are used to recognize patterns O b.
Lera25 [3.4K]

Historical data is examined for patterns that are then used to make predictions is one of the analysis methods that describe neural computing

What is neural computing?

A neural network is an artificial intelligence technique that instructs computers to analyze data in a manner modeled after the human brain. It is a kind of artificial intelligence technique known as deep learning that makes use of interconnected neurons or nodes in a layered structure to mimic the human brain.

Historical data is nothing but the existing network data which is stored for the predicting in future

In the context of neural networks, the word "pattern" refers to a collection of activations over a group of units (neurons).

Hence to conclude neural netwoks almost describes the patterns

To know more on neural networks follow this link

brainly.com/question/27371893

#SPJ1

3 0
1 year ago
A plate and frame heat exchanger has 15 plates made of stainless steel that are 1 m tall. The plates are 1 mm thick and 0.6 m wi
hodyreva [135]

Answer:

14.506°C

Explanation:

Given data :

flow rate of water been cooled = 0.011 m^3/s

inlet temp = 30°C + 273 = 303 k

cooling medium temperature = 6°C  + 273 = 279 k

flow rate of cooling medium = 0.02 m^3/s

Determine the outlet temperature

we can determine the outlet temperature by applying the relation below

Heat gained by cooling medium = Heat lost by water

= ( Mcp ( To - 6 )  =  Mcp ( 30 - To )

since the properties of water and the cooling medium ( water ) is the same

= 0.02 ( To - 6 ) = 0.011 ( 30 - To )

= 1.82 ( To - 6 ) = 30 - To

hence To ( outlet temperature ) = 14.506°C

6 0
3 years ago
In a black box experiment, when the amount of material exiting a closed system is less than the amount of material entering the
Oksi-84 [34.3K]

When the material that exits is lesser in amount than that of the entering material in a black box experiment, the parts of the system need to be changed.

<h3>What happens in a black box experiment?</h3>

In a black box experiment, the experimenters need to make assumptions regarding the drawing of conclusions. One such conclusion is the amount of material that exits.

If such amount is lesser than the one that enters the system, such experiment concludes that it is the time to change the parts of the system.

Hence, option D holds true regarding the black box experiment.

Learn more about black box experiment here:

brainly.com/question/13403296

#SPJ1

4 0
2 years ago
In __________, the air bags system checks itself for problems each time the ignition is turned on
zlopas [31]

Answer:

===========

Automobiles

===========

8 0
2 years ago
Create a variable pounds to store weight in pounds. Convert this to kilograms and assign the result to a variable kilos. The con
vodka [1.7K]

Answer:

>>pounds=13.2

>>kilos=pounds/2.2

Explanation:

Using Matlab to write the program, consider at any time when the weight in pounds is 13.2 lb, this variable of weight is created in MATLAB by typing >>pounds=13.2. To convert it from lb to Kg, we simply divide it by 2.2 hence the second command to created is kilos. For this, the output of the program will be 6 Kg.

5 0
3 years ago
Other questions:
  • Based in bonding theory, explain why heat capacity increases when you consider metals, ceramics and polymers.
    14·1 answer
  • (a) Draw the Moore finite state machine (FSM) of an electronic combination lock with a RESET button, two number buttons (0 and 1
    12·1 answer
  • Danny enjoys studying transportation networks and systems. Which field of engineering should he pursue?
    11·1 answer
  • The current in a 20 mH inductor is known to be: 푖푖=40푚푚푚푚푡푡≤0푖푖=푚푚1푒푒−10,000푡푡+푚푚2푒푒−40,000푡푡푚푚푡푡≥0The voltage across the induct
    15·1 answer
  • Determine the output torque To????????p????????, the speed reduction ratio of the transmission R, the tangential loads imposed o
    13·2 answers
  • What are two factors that determine the thermal energy of a substance
    10·1 answer
  • A pool of contaminated water is lined with a 40 cm thick containment barrier. The contaminant in the pit has a concentration of
    11·1 answer
  • A 360 kg/min stream of steam enters a turbine at 40 bar pressure and 100 degrees of superheat. The steam exits the turbine as a
    14·1 answer
  • What technology has been used for building super structures​
    11·1 answer
  • Use the map to answer the question.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!