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

BEGIN

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
ELSE
total days = total days + return date
Get next transaction
Display #contracts
IF #contracts <> 0
Display total days/#contracts
END

Previous slide Next slide Back to first slide View graphic version