in reply to New to Programming and I have chose PERL
Also, in the if loop matching 'h', you need to put a last statement in the end to exit out of while loop.
Another if loop can be added to match 'y'.
Also, you can combine all the if loops using elsif.
|
|---|