Difference:
CSC121S2023Lab3H3
( vs. 1)
Revision 1
2022-12-29 -
cathybareiss
Line: 1 to 1
Added:
>
>
META TOPICPARENT
name="CSC121S2023Lab03"
Getting zeros for all my output
A percentage is a floating number, so you need to do floating point arithmetic.
Don't make your counters floating point variables. Just multiple them by 1.0 in your expression when outputting.
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