It's UWAweek 44 (2nd semester, 1st exam week)

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.
Displaying the 3 articles in this topic
Showing 3 of 820 articles.
Currently 10 other people reading this forum.


 UWA week 38 (2nd semester, week 8) ↓
SVG not supported

Login to reply

👍?
helpful
1:47pm Wed 18th Sep, Marco G.

When executing the samples, my runml prints 24.00000000 instead of 24. Is this okay or does it have to be 24?


SVG not supported

Login to reply

👍?
helpful
2:20pm Wed 18th Sep, Marco G.

I noticed the requirement "When printed, numbers that are exact integers must be printed without any decimal places; other numbers must be printed with exactly 6 decimal places." However, I was just wondering, for sample05, is it meant to be printsum(12, 6) and not printsum (12, 6) ? Was just wondering since it interacts with the way I have written my runml and is not consistent with the other function calls, multiply(12, 6), muliply(10,5), increment(3), increment(4), etc


SVG not supported

Login to reply

👍?
helpful
5:26pm Wed 18th Sep, Joshua N.

"Marco Gunawan" <23*8*7*8@s*u*e*t*u*a*e*u*a*> wrote:
> I noticed the requirement "When printed, numbers that are exact integers must be printed without any decimal places; other numbers must be printed with exactly 6 decimal places." > > However, I was just wondering, for sample05, is it meant to be printsum(12, 6) and not printsum (12, 6) ? > > Was just wondering since it interacts with the way I have written my runml and is not consistent with the other function calls, multiply(12, 6), muliply(10,5), increment(3), increment(4), etc
Answered here [help2002]

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy