Next: Introduction to structured design
Up: Further Assignment Statements &
Previous: Multiple Choice Questions
Standing charge 9.02 pence for 61 days 5.50 Gas consumption 1632.1 cu.m @ 1.433 pence 23.39 Sub-total 28.89 VAT at 8% 2.31 Total 31.20Note that allowance has been made for future increases in the standing charge to more than 10 pence per day, and for the number of days to be anything up to 999. You may wish to consider suitable limits on the amount of gas consumed, in order that the format of you final output is not disrupted.