Perl programming help needed?

Mark

New member
In perl scripting i need to create two programs

the first is a Swimming pool entrance fee calculator, that can calculate with the given rates and add group discount
It needs to be able to
take the Input age from user
use the Cost: 15 or under £2.50, 60 or over £3.00, otherwise £5 with 20% off for
groups of 6 or more.
and Terminate on negative age, printing number in group + cost.

the second one is a Bank account – withdraw and deposit program that can :
Display balance, initially £100.
Get code D or W from user to indicate deposit or withdraw.
Get amount from user
Does not allow withdrawal if funds are insufficient
Update balance
Repeat forever.
and add a ‘Q’ for quit option
 
Back
Top