Hint: Steps for developing the program

22 Jul 2025 - 14:20 | Version 1 |
Don't proceed to the following step until you can "prove" that the current step works.
  1. Count the number of a's in the file.
  2. After processing that file for a's, add code to count the number of b's.
  3. Convert the program to count the number of a given letter inside a loop that goes from 'a' to 'z'. (A for loop can iterate through letters)
  4. Write a separate program to count the number of a's in each line.
  5. Combine the two programs
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback
This website is using cookies. More info. That's Fine