This page contains the most frequently asked questions which were asked by students.
Q: What should I do if the assignment and Peach conflict with each other?
A: If the assignment not clearly specifies the expected behavior, Peach determines the correct behavior. If the assignment clearly conflicts with the Peach output, contact us as soon as possible such that we can give some clarification.
Q: After I've submitted my program I get a message that my submission is saved. However if I open the assignment at the homepage of Peach I see that I have made no submission.
A: Your submission was probably successful, this is a Peach bug that has been reported. Try completely refreshing the homepage (ctrl+F5 or multiple times F5).
Q: Is it allowed to use the Netbeans GUI editor?
A: You may not use the generated code for the homework assignments, but you may use it during the exam.
Q: What to do if my compiler complains about mixing long and int variables in the interest function?
A: If you want to convert a long to an int, cast it using “(int)”. e.g. Write “x = (int)y” where x is an int and y is a long variable.
Background information: A long can contain larger values than an int, so it could be too large to store it in an int variable. If you know it will fit because your input is small enough, you can tell the compiler to convert it to an int under the assumption it fits.