Need help with this question?
(12). (a) Write a PERL program which takes in a number of prices, adds them and then prints out the total including VAT (17.5%). You will need to decide how the user will indicate that they have finished entering items to be added (perhaps a 0 entered as a price?).
I no you have to do a loop but can't seem to get it working.
(12). (a) Write a PERL program which takes in a number of prices, adds them and then prints out the total including VAT (17.5%). You will need to decide how the user will indicate that they have finished entering items to be added (perhaps a 0 entered as a price?).
I no you have to do a loop but can't seem to get it working.