PLEASE NOTE: this server,, will be unavailable on Wednesday 7th December, from 1pm until 4pm (was Monday 5th).
Web-based programs, such as csmarks, cssubmit, and the help fora, will all be unavailable.
  It's UWAweek 49


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 2 articles in this topic
Showing 2 of 919 articles.
Currently 46 other people reading this forum.

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

Login to reply

4:44pm Tue 13th Sep, ANONYMOUS

With respect to the project brief, it was stated "Only the very last line will be considered during (automated) marking." Does that mean we shouldn't add a new '\n' after. As in, would: printf("%s %d %d", mostExecuted, totalCommands, maxRunning); and printf("%s %d %d\n", mostExecuted, totalCommands, maxRunning); both be correct? Or which, if any, is wrong? Apologies if this is an obvious question.

SVG not supported

Login to reply

4:54pm Tue 13th Sep, Christopher M.

> printf("%s %d %d\n", mostExecuted, totalCommands, maxRunning);
Use this one.

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  1:17AM Sep 14 2022
Privacy policy