---+Design for lab 4 <pre>main required components constants declarations open the file initialize the main loop (set counters to 0) loop done at the end of the file get color from file get valid color from user (might need a loop ensure it is valid) initialize counter for number correct in row for loop for number of items in a row if correct display message count it else display message if all correct in the row display message display total number correct display total number of rows correct</pre>
This topic: CenterForComputing
>
WebHome
>
Syllabi
>
CSC121SylS2023
>
CSC121S2023Lab04
>
CSS121S2023Lab4H1
Topic revision: r1 - 2023-01-10 - 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