---+Hint: Steps for developing the program 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. 1. After processing that file for a's, add code to count the number of b's. 1. Convert the program to count the number of a given letter inside a loop that goes from 'a' to 'z'. (A <b>for</b> loop can iterate through letters) 1. Write a separate program to count the number of a's in each line. 1. Combine the two programs
This topic: CenterForComputing
>
WebHome
>
Syllabi
>
CSC121SylF2026
>
CSC121F2026Lab06
>
CSC121F2026Lab05Hint02
Topic revision: r1 - 2026-06-04 - CathyBareiss
Copyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback