Difference: CSC121S2023Lab04 (3 vs. 4)

Revision 42023-01-23 - cathybareiss

Line: 1 to 1
 
META TOPICPARENT name="CSC121SylS2023"

Repetition, files, and Colors

Learning Objective(s)

Line: 11 to 11
 
  1. Your colors are to be red, blue, green, and yellow.
  2. You must use constants for the colors and the number of colors per line in the file.
  3. Reject any invalid numbers (out of range)
Changed:
<
<
  1. Use a for loop to the colors in one row
>
>
  1. Use a for loop for the colors in one row
 
  1. Program should be called CheckColors

Example program dialogue:

These are not meant to be sufficient testing. Nor must you follow the exact wording. They are just to demonstrate what an acceptable program might do for certain input
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 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