XML

COMP3200 Anonymous Questions and Answers Keyword Index

This page provides a keyword index to questions and answers. Clicking on a keyword will take you to a page containing all questions and answers for that keyword, grouped by year.

To submit a question, use the anonymous questions page. You may find the keyword index and/or top-level index useful for locating past questions and answers.

Keyword reference for method-spend

2024

Question 25 (2024):

Submission reference: IN3670

I am unsure what is wrong with my code. This is the only error I have left to fix but I cannot see what is wrong. It says that the error is to do with my spend but I included my whole code

code deleted

Answer 25:

Thank you for including your code and the error message, which helps a lot.

If you have 50 pounds in the money box, should it be possible to spend 50 pounds? If so, does your code allow that?

Keywords: assign1 , method-spend

This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.
Last modified Fri Jan 17 08:25:20 2025
This document is maintained by David Barnes, to whom any comments and corrections should be addressed.