Pre Release Solution MAY/JUNE 2019: Computer Science Made Easy
The document contains pseudocode that calculates various metrics from an auction. It initializes variables like an array to track whether each item was sold, and totals to track company fees and unsold items. It then loops through each item, calculates the company's 10% fee for sold items, and counts items unsold due to low bids or no bids. Finally it outputs the total fees, counts of unsold items, and items sold.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
15 views2 pages
Pre Release Solution MAY/JUNE 2019: Computer Science Made Easy
The document contains pseudocode that calculates various metrics from an auction. It initializes variables like an array to track whether each item was sold, and totals to track company fees and unsold items. It then loops through each item, calculates the company's 10% fee for sold items, and counts items unsold due to low bids or no bids. Finally it outputs the total fees, counts of unsold items, and items sold.