Land of Po Homepage CAITLIN project homepage Sitemap Search the web Feedback School of Informatics homepage Eat the word homepage Staff List Northumbria University Homepage Page banner with picture hotspots to: Feedback, Guest book, Site Map, Search, Caitlin, Eat the Word, School of Informatics, Northumbria University, & Dilbert


Go to

Dilbert link icon


PPT Slide


Initialise #contracts, total days = 0
Get 1st transaction
WHILE not end of transactions DO
IF car taken out THEN
Inc #contracts
total days = total days - taken out date
total days = total days + return date
Get next transaction
Display #contracts
IF #contracts <> 0
Display total days/#contracts

Previous slide Next slide Back to first slide View graphic version