2020 - Companies can keep running even though they have a large negative balance, allow companies to go bankrupt and stop trading

From TRCCompSci - AQA Computer Science
Jump to: navigation, search

Create boolean in Company Class for bankrupt

Create a method in Company Class to check for bankrupt

Edit ProcessDayEnd code to add a line a the start to CheckBankrupt

Edit ProcessDayEnd code to only process if company is not bankrupt

Edit AddVisitToNearestOutlet code to only process if company not bankrupt

Edit GetDetails to display business bankrupt