Difference:
CSS121S2023Lab3H1
( vs. 1)
Revision 1
2022-12-29 -
cathybareiss
Line: 1 to 1
Added:
>
>
META TOPICPARENT
name="CSC121S2023Lab03"
Program design
Necessary code and banner comment
class
declare constants
main method
declare variables
initialize all variables including first valid input
ending condition
count the appropriate color
get next valid input
output results
More help for individual parts (scroll down to find them)
variables. You need one for each color.
initialization. All counters must each be set to zero.
computing percentage. You need to count the total number of values inputted.
getting valid input. Similar code has been written in class. Refer to that code!
View topic
|
H
istory
:
r1
|
More topic actions...
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