WAP to read the content of file and count how Times letter 'a' comes in file.
Answers
Answered by
1
Answer:
Open the file in reading mode.
Initialize counter = 0.
Read the content of the file.
Go through the file content.
If letter 'a' appears, increment the value of counter.
Display the counter.
Answered by
1
Answer:
hiii
Explanation:
have a great day dear
Similar questions