It's UWAweek 42 (2nd semester, week 12)

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 selected article
Showing 1 of 688 articles.
Currently 5 other people reading this forum.


 UWA week 37 (2nd semester, week 7) ↓
SVG not supported

Login to reply

👍?
helpful
8:50pm Wed 11th Sep, Joshua N.

ANONYMOUS wrote:
> Adding to this, should we accept a number formatted as 1. or should we only accept 1 (no decimal if it is a whole number) or 1.0, 1.00, etc
Hey guys, ml accepts whole numbers, there is no example in the ml file where there is a decimal point after a whole number, e.g. 2.0 would just appear as 2 in the ml file. I'm assuming as more decimal places are required they will be added e.g. 2.546. I wouldn't worry about how exactly numbers appear as you are guaranteed that expressions are valid, there won't be invalid decimal numbers. So you should be able to directly copy the numbers into the C file and let C do the work for you.

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